diff --git a/lib/runCall.js b/lib/runCall.js index 47438ef2caa..00a7a3a0ef5 100644 --- a/lib/runCall.js +++ b/lib/runCall.js @@ -94,7 +94,9 @@ module.exports = function (opts, cb) { } if ((account.nonce && new BN(account.nonce) > 0) || account.codeHash.compare(EMPTY_CODE_HASH) !== 0) { - done(ERROR.INVALID_OPCODE) + toAccount = account + code = new Buffer("0xfe", "hex") // Invalid init code + done() return }