mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Ensure that gas for swap tx submitted at same time as approval is in hex (#10135)
This commit is contained in:
parent
d55f579447
commit
2957906101
@ -606,7 +606,7 @@ export const signAndSendTransactions = (history, metaMetricsEvent) => {
|
||||
customSwapsGas ||
|
||||
(usedQuote?.gasEstimate
|
||||
? estimatedGasLimitWithMultiplier
|
||||
: usedQuote?.maxGas)
|
||||
: `0x${decimalToHex(usedQuote?.maxGas || 0)}`)
|
||||
|
||||
const usedGasPrice = getUsedSwapsGasPrice(state)
|
||||
usedTradeTxParams.gas = maxGasLimit
|
||||
|
Loading…
Reference in New Issue
Block a user