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
e7bf63a6d6
commit
b879bf1359
@ -915,6 +915,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