Add status field to createTable

pull/1/head
ninabreznik 7 years ago
parent a800874381
commit ca67c65b51
  1. 2
      src/app/execution/txLogger.js

@ -330,6 +330,7 @@ function txDetails (e, tx, data, obj) {
log.removeChild(caret)
log.appendChild(caretDown)
table = createTable({
status: data.tx.status,
isCall: data.tx.isCall,
contractAddress: data.tx.contractAddress,
data: data.tx,
@ -350,7 +351,6 @@ function txDetails (e, tx, data, obj) {
function createTable (opts) {
var table = yo`<table class="${css.txTable}" id="txTable"></table>`
if (opts.status) {
var msg = ''
if (opts.status === '0x0') {

Loading…
Cancel
Save