logs now is an object instead of array

pull/1/head
yann300 7 years ago
parent a800874381
commit 99b3b01bec
  1. 2
      src/app/execution/txLogger.js

@ -264,7 +264,7 @@ function context (self, opts) {
var val = data.tx.value
var hash = data.tx.hash ? helper.shortenHexData(data.tx.hash) : ''
var input = data.tx.input ? helper.shortenHexData(data.tx.input) : ''
var logs = data.logs && data.logs.decoded ? data.logs.decoded.length : 0
var logs = data.logs && data.logs.decoded && data.logs.decoded.length ? data.logs.decoded.length : 0
var block = data.tx.blockNumber || ''
var i = data.tx.transactionIndex
var value = val ? typeConversion.toInt(val) : 0

Loading…
Cancel
Save