Commit 366eace1 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Skip balance & nonce check in VM

parent 658a4f69
...@@ -444,7 +444,7 @@ UniversalDApp.prototype.runTx = function( data, args, cb) { ...@@ -444,7 +444,7 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
data: new Buffer(data.slice(2), 'hex') data: new Buffer(data.slice(2), 'hex')
}); });
tx.sign(new Buffer(this.secretKey, '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) { } catch (e) {
cb( e, null ); cb( e, null );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment