Skip to content

Commit

Permalink
fix: default gas limit (#8525)
Browse files Browse the repository at this point in the history
  • Loading branch information
CremaFR authored Nov 28, 2024
1 parent d7e5881 commit 032a018
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-shrimps-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": minor
---

fix: default gas limit
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const SwapWebView = ({ manifest, liveAppUnavailable }: SwapWebProps) => {
warnings: status.warnings,
customFeeConfig,
hasDrawer,
gasLimit: transaction.gasLimit,
gasLimit: finalTx.gasLimit,
};
}

Expand All @@ -240,7 +240,7 @@ const SwapWebView = ({ manifest, liveAppUnavailable }: SwapWebProps) => {
warnings: statusInit.warnings,
customFeeConfig: params.customFeeConfig,
hasDrawer,
gasLimit: transaction.gasLimit,
gasLimit: finalTx.gasLimit,
});
}
resolve({
Expand All @@ -254,7 +254,7 @@ const SwapWebView = ({ manifest, liveAppUnavailable }: SwapWebProps) => {
warnings: status.warnings,
customFeeConfig,
hasDrawer,
gasLimit: transaction.gasLimit,
gasLimit: finalTx.gasLimit,
});
};

Expand Down

0 comments on commit 032a018

Please sign in to comment.