Merge pull request #1286 from ethereum/statusTerminal

Add status field to createTable
pull/1/head
yann300 7 years ago committed by GitHub
commit a7895acbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/execution/txLogger.js

@ -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) {
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') {

Loading…
Cancel
Save