diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index 13e76d97af..b33628afcc 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -263,13 +263,13 @@ function context (self, opts) { var block = data.tx.blockNumber || '' var i = data.tx.transactionIndex if (executionContext.getProvider() === 'vm') { - return yo`[vm] from:${from}, to:${to}, value:${typeConversion.hexToInt(val)} wei, data:${input}, ${logs} logs, hash:${hash}` + return yo`[vm] from:${from}, to:${to}, value:${typeConversion.toInt(val)} wei, data:${input}, ${logs} logs, hash:${hash}` } else if (executionContext.getProvider() !== 'vm' && data.resolvedData) { - return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${typeConversion.hexToInt(val)} wei, ${logs} logs, data:${input}, hash:${hash}` + return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${typeConversion.toInt(val)} wei, ${logs} logs, data:${input}, hash:${hash}` } else { to = helper.shortenHexData(to) hash = helper.shortenHexData(data.tx.blockHash) - return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${typeConversion.hexToInt(val)} wei` + return yo`[block:${block} txIndex:${i}] from:${from}, to:${to}, value:${typeConversion.toInt(val)} wei` } } @@ -367,7 +367,7 @@ function createTable (opts) { ` if (opts.logs) table.appendChild(logs) - var val = typeConversion.hexToInt(opts.val) + var val = typeConversion.toInt(opts.val) val = yo`