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>
feature/default_network_editable
Daniel 3 years ago committed by Dan Miller
parent e7bf63a6d6
commit b879bf1359
  1. 3
      ui/ducks/swaps/swaps.js

@ -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…
Cancel
Save