Merge pull request #557 from ethereum/fixVMProvider

fix: do not throw if no topic
pull/7/head
yann300 7 years ago committed by GitHub
commit 8143fd1c33
  1. 2
      src/web3Provider/web3VmProvider.js

@ -94,7 +94,7 @@ web3VmProvider.prototype.txProcessed = function (self, data) {
var log = data.vm.logs[l]
logs.push({
data: log[2].toString('hex'),
topics: [log[1][0].toString('hex')],
topics: log[1].length > 0 ? [log[1][0].toString('hex')] : ['0x'],
rawVMResponse: log
})
}

Loading…
Cancel
Save