mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Set up the right gasLimit for STX (#13891)
* Set up the right gasLimit for STX * Trigger Build Co-authored-by: Dan J Miller <danjm.com@gmail.com>
This commit is contained in:
parent
e157d2b51f
commit
93f03c5541
@ -916,6 +916,9 @@ export const signAndSendSwapsSmartTransaction = ({
|
||||
const smartTransactionFees = await dispatch(
|
||||
fetchSwapsSmartTransactionFees(unsignedTransaction),
|
||||
);
|
||||
unsignedTransaction.gas = `0x${decimalToHex(
|
||||
smartTransactionFees?.gasLimit || 0,
|
||||
)}`;
|
||||
const uuid = await dispatch(
|
||||
signAndSendSmartTransaction({
|
||||
unsignedTransaction,
|
||||
|
Loading…
Reference in New Issue
Block a user