diff --git a/index.html b/index.html
index 5d19dd6..34f2416 100644
--- a/index.html
+++ b/index.html
@@ -629,10 +629,7 @@
-
- Transaction ID
-
-
+ See transaction on blockchain
@@ -1589,14 +1586,14 @@
function showTransactionResult(status, result) {
getRef('transaction_result').className = status;
if (status === 'success') {
- getRef('transactionId').value = result
- getRef('transactionId').parentNode.classList.remove('hide')
+ getRef('transaction_link').href = `https://flosight.duckdns.org/tx/${result}`
+ getRef('transaction_link').parentNode.classList.remove('hide')
getRef('transaction_result__title').textContent = 'Transaction request sent'
getRef('transaction_result__description').textContent = 'This might take upto 30 mins to complete and reflect on blockchain.'
} else {
getRef('transaction_result__title').textContent = 'Transaction failed'
getRef('transaction_result__description').textContent = result
- getRef('transactionId').parentNode.classList.add('hide')
+ getRef('transaction_link').parentNode.classList.add('hide')
}
getRef('get_private_key').classList.add('hide')
getRef('transaction_result').classList.remove('hide')