Commit cd63112f authored by yann300's avatar yann300

fix log logging

parent 71bd8e9d
...@@ -269,7 +269,7 @@ function renderUnknownTransaction (self, data) { ...@@ -269,7 +269,7 @@ function renderUnknownTransaction (self, data) {
input: data.tx.input, input: data.tx.input,
hash: data.tx.hash, hash: data.tx.hash,
gas: data.tx.gas, gas: data.tx.gas,
logs: data.logs, logs: data.tx.logs,
transactionCost: data.tx.transactionCost, transactionCost: data.tx.transactionCost,
executionCost: data.tx.executionCost, executionCost: data.tx.executionCost,
status: data.tx.status status: data.tx.status
...@@ -440,7 +440,7 @@ function createTable (opts) { ...@@ -440,7 +440,7 @@ function createTable (opts) {
} }
var stringified = ' - ' var stringified = ' - '
if (opts.logs.decoded) { if (opts.logs && opts.logs.decoded) {
stringified = typeConversion.stringify(opts.logs.decoded) stringified = typeConversion.stringify(opts.logs.decoded)
} }
var logs = yo` var logs = yo`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment