fix universal-dapp vm gas regression

pull/1/head
d11e9 9 years ago
parent cf8c9b5a4d
commit c8a6060fb5
  1. 4
      libs/universal-dapp.js

@ -322,7 +322,7 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
var tx = new EthVm.Transaction({ var tx = new EthVm.Transaction({
nonce: new Buffer([this.nonce++]), //@todo count beyond 255 nonce: new Buffer([this.nonce++]), //@todo count beyond 255
gasPrice: '01', gasPrice: '01',
gasLimit: '3000000', gasLimit: '3000000000', //plenty
to: to, to: to,
data: data data: data
}); });
@ -332,4 +332,4 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
cb( e, null ); cb( e, null );
} }
} }
} }

Loading…
Cancel
Save