Use higher (3M) starting limit for gas

pull/1/head
Alex Beregszaszi 9 years ago
parent 52f255a44c
commit 628221286d
  1. 2
      index.html
  2. 2
      src/universal-dapp.js

@ -74,7 +74,7 @@
<label for="txorigin"><select name="txorigin" id="txorigin"></select> Transaction origin</label>
</div>
<div class="crow hide">
<label for="gasLimit"><input type="number" id="gasLimit" value="0"> Gas limit</label>
<label for="gasLimit"><input type="number" id="gasLimit" value="3000000"> Gas limit</label>
</div>
<div class="crow hide">
<label for="gasPrice"><input type="number" id="gasPrice" value="0"> Gas Price</label>

@ -618,7 +618,7 @@ UniversalDApp.prototype.runTx = function (data, args, cb) {
data = '0x' + data;
}
var gas = self.options.getGas ? self.options.getGas : 1000000;
var gas = self.options.getGas ? self.options.getGas : 3000000;
var value = 0;
if (self.options.getValue) {

Loading…
Cancel
Save