diff --git a/src/app/tabs/runTab/model/recorder.js b/src/app/tabs/runTab/model/recorder.js index d81481fd55..b25070aac2 100644 --- a/src/app/tabs/runTab/model/recorder.js +++ b/src/app/tabs/runTab/model/recorder.js @@ -261,7 +261,7 @@ class Recorder { console.error(err) logCallBack(err + '. Execution failed at ' + index) } else { - const rawAddress = this.executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress + const rawAddress = self.executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress if (rawAddress) { const stringAddress = self.addressToString(rawAddress) const address = ethutil.toChecksumAddress(stringAddress)