From dfe42c47c25f6bb394ee4db28b8aea5a2b7fda9c Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Wed, 26 Oct 2016 01:29:55 +1300 Subject: [PATCH] Atomic Explorer chaintip activated --- assets/scripts/atomicexplorer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/scripts/atomicexplorer.js b/assets/scripts/atomicexplorer.js index d8c7560..9974c99 100644 --- a/assets/scripts/atomicexplorer.js +++ b/assets/scripts/atomicexplorer.js @@ -44,6 +44,10 @@ var AtomicExplorer = function() { ExplorerInputData = {"coin":atomic_explorer_select_coin_val,"agent":"bitcoinrpc","method":"getblockhash","height":atomic_explorer_input_data_val} console.log(ExplorerInputData); } + if (atomic_explorer_select_command_val === 'chaintip') { + ExplorerInputData = {"coin":atomic_explorer_select_coin_val,"agent":"bitcoinrpc","method":"getbestblockhash"} + console.log(ExplorerInputData); + } if (atomic_explorer_select_command_val === 'gettransaction') { ExplorerInputData = {"coin":atomic_explorer_select_coin_val,"agent":"bitcoinrpc","method":"gettransaction","txid":atomic_explorer_input_data_val} console.log(ExplorerInputData);