Merge pull request #1357 from ethereum/fixStatusNotPreset

display transaction hash in log
pull/1/head
yann300 7 years ago committed by GitHub
commit 3e385f9f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      src/app/execution/txLogger.js

@ -370,6 +370,7 @@ function txDetails (e, tx, data, obj) {
log.removeChild(arrow)
log.appendChild(arrowUp)
table = createTable({
hash: data.tx.transactionHash,
status: data.tx.status,
isCall: data.tx.isCall,
contractAddress: data.tx.contractAddress,
@ -405,9 +406,19 @@ function createTable (opts) {
</tr>`)
}
var transactionHash = yo`
<tr class="${css.tr}">
<td class="${css.td}"> transaction hash </td>
<td class="${css.td}">${opts.hash}
${copyToClipboard(() => opts.hash)}
</td>
</tr>
`
table.appendChild(transactionHash)
var contractAddress = yo`
<tr class="${css.tr}">
<td class="${css.td}"> contractAddress </td>
<td class="${css.td}"> contract address </td>
<td class="${css.td}">${opts.contractAddress}
${copyToClipboard(() => opts.contractAddress)}
</td>

Loading…
Cancel
Save