Closed maddadder closed 11 months ago
Traced bug to:
https://github.com/ethereumjs/ethereumjs-vm/blob/master/lib/cache.js var address = Buffer.from(addressHex, 'hex') addressHex starts with 0x, and this procedure results in an invalid address.
Would suggest something like: var address = Buffer.from(addressHex.replace(/0x/, ''), 'hex')
Traced bug to:
https://github.com/ethereumjs/ethereumjs-vm/blob/master/lib/cache.js var address = Buffer.from(addressHex, 'hex') addressHex starts with 0x, and this procedure results in an invalid address.
Would suggest something like: var address = Buffer.from(addressHex.replace(/0x/, ''), 'hex')