Skip to content

Commit

Permalink
Merge pull request #1286 from ethereum/statusTerminal
Browse files Browse the repository at this point in the history
Add status field to createTable
  • Loading branch information
yann300 authored Apr 29, 2018
2 parents 4a71d9d + ca67c65 commit a7895ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/execution/txLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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') {
Expand Down

0 comments on commit a7895ac

Please sign in to comment.