Skip to content

Commit

Permalink
fix: raise the additional gas for the message if multiple tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
YohanTz committed Apr 26, 2024
1 parent 0fd96f8 commit 1b4ee85
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ export default function useEthereumNftDeposit() {
false,
],
functionName: "depositTokens",
// TODO @YohanTz: Get needed gas from ?
value: parseGwei("40000"),
value: parseGwei((40000 * selectedTokenIds.length).toString()),
});
}

Expand Down

0 comments on commit 1b4ee85

Please sign in to comment.