fix typos VmProxy.ts

pull/5692/head
Tronica 2 weeks ago committed by GitHub
parent aae2c293e5
commit 4f689aaa9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      libs/remix-simulator/src/VmProxy.ts

@ -217,9 +217,9 @@ export class VmProxy {
if (data.createdAddress) { if (data.createdAddress) {
const address = data.createdAddress.toString() const address = data.createdAddress.toString()
const checksumedAddress = toChecksumAddress(address) const checksummedAddress = toChecksumAddress(address)
this.vmTraces[this.processingHash].return = checksumedAddress this.vmTraces[this.processingHash].return = checksummedAddress
this.txsReceipt[this.processingHash].contractAddress = checksumedAddress this.txsReceipt[this.processingHash].contractAddress = checksummedAddress
} else if (data.execResult.returnValue) { } else if (data.execResult.returnValue) {
this.vmTraces[this.processingHash].return = bytesToHex(data.execResult.returnValue) this.vmTraces[this.processingHash].return = bytesToHex(data.execResult.returnValue)
} else { } else {

Loading…
Cancel
Save