Skip balance & nonce check in VM

pull/1/head
Alex Beregszaszi 9 years ago
parent 658a4f694b
commit 366eace119
  1. 2
      assets/js/universal-dapp.js

@ -444,7 +444,7 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
data: new Buffer(data.slice(2), 'hex')
});
tx.sign(new Buffer(this.secretKey, 'hex'));
this.vm.runTx({tx: tx}, cb);
this.vm.runTx({tx: tx, skipBalance: true, skipNonce: true}, cb);
} catch (e) {
cb( e, null );
}

Loading…
Cancel
Save