Skip to content

Commit a8abcfa

Browse files
rmeissnerholgerd77
authored andcommitted
Fix creation of invalid code
1 parent 6752073 commit a8abcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runCall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module.exports = function (opts, cb) {
105105

106106
if ((account.nonce && new BN(account.nonce) > 0) || account.codeHash.compare(EMPTY_CODE_HASH) !== 0) {
107107
toAccount = account
108-
code = new Buffer('0xfe', 'hex') // Invalid init code
108+
code = new Buffer('fe', 'hex') // Invalid init code
109109
done()
110110
return
111111
}

0 commit comments

Comments
 (0)