From 318afd68613ee8c9e7922a407d0809fdbc29b68e Mon Sep 17 00:00:00 2001 From: Satinder Grewal Date: Fri, 17 Feb 2017 21:10:48 +1300 Subject: [PATCH] big fix: Full mode wasn't showing tx history --- assets/scripts/dashboard.js | 5 ++++- assets/scripts/iguana_api.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/scripts/dashboard.js b/assets/scripts/dashboard.js index 35aea18..c18940e 100644 --- a/assets/scripts/dashboard.js +++ b/assets/scripts/dashboard.js @@ -907,7 +907,6 @@ function EdexfillTxHistory(coin) { select: true, retrieve: true }); - NProgress.done(); }); } @@ -1580,6 +1579,7 @@ function EdexGetTxList(coin) { type: 'POST', dataType: 'json', }).then(data => { + //console.log(data) var total_utxos = [] let params = '' Promise.all(data.result.map((coinaddr_value,coinaddr_index) => { @@ -1613,6 +1613,9 @@ function EdexGetTxList(coin) { type: 'POST', dataType: 'json', }).then(data => { + if ( active_edexcoinmodecode == 'Full' ) { + data = data.result; + } //console.log(data) total_utxos = $.merge(total_utxos, data) resolve(total_utxos) diff --git a/assets/scripts/iguana_api.js b/assets/scripts/iguana_api.js index 37a8c97..f7fd6e5 100644 --- a/assets/scripts/iguana_api.js +++ b/assets/scripts/iguana_api.js @@ -821,7 +821,7 @@ function EDEXlistunspent(coin) { }); //console.log(tmpcalcnum); var tmp_addr_total_balance_output = {"addr": unique_addr_tmp_array[0].address, "total": tmpcalcnum};*/ - console.log(tmp_addr_total_balance_output); + //console.log(tmp_addr_total_balance_output); result.push(tmp_addr_total_balance_output); }); //console.log(result)