Skip to content

Commit

Permalink
Fix creation of invalid code
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeissner committed Nov 3, 2018
1 parent 21cf775 commit a402acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runCall.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports = function (opts, cb) {

if ((account.nonce && new BN(account.nonce) > 0) || account.codeHash.compare(EMPTY_CODE_HASH) !== 0) {
toAccount = account
code = new Buffer('0xfe', 'hex') // Invalid init code
code = new Buffer('fe', 'hex') // Invalid init code
done()
return
}
Expand Down

0 comments on commit a402acc

Please sign in to comment.