Browse Source

Increase default gas limit to 200000 for etomic contracts calls.

patch-3
Artem Pikulin 7 years ago
parent
commit
443fb2752a
  1. 2
      iguana/exchanges/etomicswap/etomiclib.cpp

2
iguana/exchanges/etomicswap/etomiclib.cpp

@ -26,7 +26,7 @@ TransactionSkeleton txDataToSkeleton(BasicTxData txData)
tx.from = jsToAddress(txData.from);
tx.to = jsToAddress(txData.to);
tx.value = jsToU256(txData.amount);
tx.gas = 100000;
tx.gas = 200000;
tx.gasPrice = getGasPriceFromStation() * boost::multiprecision::pow(u256(10), 9);
tx.nonce = getNonce(txData.from);
return tx;

Loading…
Cancel
Save