From cd63112f9bab60a173c2a556e5463de1e3595c2c Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 30 Nov 2017 20:27:29 +0100 Subject: [PATCH] fix log logging --- src/app/execution/txLogger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index fb79f0cde8..a334bc2ffa 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -269,7 +269,7 @@ function renderUnknownTransaction (self, data) { input: data.tx.input, hash: data.tx.hash, gas: data.tx.gas, - logs: data.logs, + logs: data.tx.logs, transactionCost: data.tx.transactionCost, executionCost: data.tx.executionCost, status: data.tx.status @@ -440,7 +440,7 @@ function createTable (opts) { } var stringified = ' - ' - if (opts.logs.decoded) { + if (opts.logs && opts.logs.decoded) { stringified = typeConversion.stringify(opts.logs.decoded) } var logs = yo`