Skip to content

Commit

Permalink
add value to wallet sendTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
IDubuque committed Feb 14, 2024
1 parent e67e24b commit 1966116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/thirdweb/src/wallets/injected/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ export class InjectedWallet implements Wallet {
params: [
{
gas: tx.gas ? toHex(tx.gas) : undefined,
value: tx.value ? toHex(tx.value) : undefined,
from: this.address,
to: tx.to as Address,
data: tx.data,
Expand Down
1 change: 1 addition & 0 deletions packages/thirdweb/src/wallets/wallet-connect/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export class WalletConnect implements Wallet {
params: [
{
gas: tx.gas ? toHex(tx.gas) : undefined,
value: tx.value ? toHex(tx.value) : undefined,
from: this.address,
to: tx.to as Address,
data: tx.data,
Expand Down

0 comments on commit 1966116

Please sign in to comment.