Commit ce7e9cf4 authored by Aniket-Engg's avatar Aniket-Engg Committed by Aniket

minor fix

parent 96b8fb3b
...@@ -74,7 +74,7 @@ class Recorder { ...@@ -74,7 +74,7 @@ class Recorder {
if (call) return if (call) return
const rawAddress = executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress const rawAddress = executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress
if (!address) return // not a contract creation if (!rawAddress) return // not a contract creation
const stringAddress = this.addressToString(rawAddress) const stringAddress = this.addressToString(rawAddress)
const address = ethutil.toChecksumAddress(stringAddress) const address = ethutil.toChecksumAddress(stringAddress)
// save back created addresses for the convertion from tokens to real adresses // save back created addresses for the convertion from tokens to real adresses
......
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