Condition for non-receipt transaction (VM)

pull/1/head
ioedeveloper 5 years ago
parent 5e9a9803ea
commit ffaea7e726
  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.receipt.blockNumber || ''
var i = data.receipt.transactionIndex
var block = data.receipt ? data.receipt.blockNumber : data.tx.blockNumber || ''
var i = data.receipt ? data.receipt.transactionIndex : data.tx.transactionIndex
var value = val ? typeConversion.toInt(val) : 0
if (blockchain.getProvider() === 'vm') {
return yo`

Loading…
Cancel
Save