Commit 1e155b13 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Workaround issues in ethereumjs-block (it should be fixed upstream)

parent 29918b58
...@@ -574,7 +574,9 @@ UniversalDApp.prototype.runTx = function( data, args, cb) { ...@@ -574,7 +574,9 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
header: { header: {
// FIXME: support coinbase, difficulty, number and gasLimit // FIXME: support coinbase, difficulty, number and gasLimit
timestamp: new Date().getTime() / 1000 | 0 timestamp: new Date().getTime() / 1000 | 0
} },
transactions: [],
uncleHeaders: []
}); });
this.vm.runTx({block: block, tx: tx, skipBalance: true, skipNonce: true, enableHomestead: true}, cb); this.vm.runTx({block: block, tx: tx, skipBalance: true, skipNonce: true, enableHomestead: true}, cb);
} catch (e) { } catch (e) {
......
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