Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #105 from kjhman21/sendTransaction_fix
Browse files Browse the repository at this point in the history
Fix sendTransaction bug
  • Loading branch information
Junghyun Colin Kim authored Feb 13, 2023
2 parents 316b142 + 6b0f688 commit 4ea70d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/WalletHRACreationStep1.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class WalletHRACreationStep1 extends Component<Props> {
type: 'ACCOUNT_CREATION',
from: klayWallet.address,
to: humanReadableAddress,
data:'',
publicKey: newPublicKey,
gas: BN(HRAMADEVALUE/25).multipliedBy(0.000000001).toFixed(),
value: 0,
Expand Down
1 change: 1 addition & 0 deletions src/components/WalletTransfer2.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class WalletTransfer2 extends Component<Props> {
await caver.klay.sendTransaction({
type: setType,
from: this.HRADataChange(),
data:'',
to,
value: caver.utils.toWei(value, 'ether'),
gas: gas || DEFAULT_KLAY_TRANSFER_GAS,
Expand Down

0 comments on commit 4ea70d5

Please sign in to comment.