Point blockNumber and Index to right value

pull/5370/head
ioedeveloper 5 years ago
parent ee089f725e
commit 2059b7021f
  1. 4
      src/app/ui/txLogger.js

@ -299,8 +299,8 @@ function context (self, opts, blockchain) {
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 ? data.logs.decoded.length : 0
var block = data.tx.blockNumber || ''
var i = data.tx.transactionIndex
var block = data.receipt.blockNumber || ''
var i = data.receipt.transactionIndex
var value = val ? typeConversion.toInt(val) : 0
if (blockchain.getProvider() === 'vm') {
return yo`

Loading…
Cancel
Save