recorder fixed

pull/5370/head
Aniket-Engg 5 years ago committed by Aniket
parent f36ef7ec4f
commit 2060b3c8d9
  1. 2
      src/app/tabs/runTab/model/recorder.js

@ -76,6 +76,7 @@ class Recorder {
var address = executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress
if (!address) return // not a contract creation
address = this.addressToString(address)
address = ethutil.toChecksumAddress(address)
// save back created addresses for the convertion from tokens to real adresses
this.data._createdContracts[address] = timestamp
this.data._createdContractsReverse[timestamp] = address
@ -262,6 +263,7 @@ class Recorder {
var address = executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress
if (address) {
address = self.addressToString(address)
address = ethutil.toChecksumAddress(address)
// save back created addresses for the convertion from tokens to real adresses
self.data._createdContracts[address] = tx.timestamp
self.data._createdContractsReverse[tx.timestamp] = address

Loading…
Cancel
Save