Skip to content

Commit

Permalink
up the gas estimate on zap transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
jankjr committed Oct 20, 2023
1 parent 61a4616 commit 4ce197e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/issuance/components/zap/state/ui-atoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ const signAndSendTx: ZapperAction = async (
})
).toBigInt() as bigint

limit = limit + limit / 10n

limit = tx.gasEstimate < limit ? tx.gasEstimate : limit

const resp = await signer.sendTransaction({
Expand Down

0 comments on commit 4ce197e

Please sign in to comment.