From 4e70cf364a00e8caf0f8347b61d91ed777cbefd3 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 11 Jun 2018 17:16:19 +0200 Subject: [PATCH] display transaction hash in log --- src/app/execution/txLogger.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index 356dafe825..0a2afc51cd 100644 --- a/src/app/execution/txLogger.js +++ b/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) { `) } + var transactionHash = yo` + + transaction hash + ${opts.hash} + ${copyToClipboard(() => opts.hash)} + + + ` + table.appendChild(transactionHash) + var contractAddress = yo` - contractAddress + contract address ${opts.contractAddress} ${copyToClipboard(() => opts.contractAddress)}