Update web3VmProvider.js

pull/7/head
yann300 7 years ago
parent abad6d6140
commit 2919e68d91
  1. 4
      remix-lib/src/web3Provider/web3VmProvider.js

@ -125,8 +125,10 @@ web3VmProvider.prototype.txProcessed = function (self, data) {
var address = util.hexConvert(data.createdAddress) var address = util.hexConvert(data.createdAddress)
self.vmTraces[self.processingHash].return = address self.vmTraces[self.processingHash].return = address
self.txsReceipt[self.processingHash].contractAddress = address self.txsReceipt[self.processingHash].contractAddress = address
} else { } else if (data.vm.return) {
self.vmTraces[self.processingHash].return = util.hexConvert(data.vm.return) self.vmTraces[self.processingHash].return = util.hexConvert(data.vm.return)
} else {
self.vmTraces[self.processingHash].return = '0x'
} }
this.processingIndex = null this.processingIndex = null
this.processingAddress = null this.processingAddress = null

Loading…
Cancel
Save