Commit ca67c65b authored by ninabreznik's avatar ninabreznik

Add status field to createTable

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