From 2fc342456e6555b92f546ad40282f49edb15aba6 Mon Sep 17 00:00:00 2001 From: kk573 Date: Tue, 4 Jun 2019 07:53:08 +0000 Subject: [PATCH] Coins with disabled accounting will not show any tx. $account should be "*" --- web/yaamp/modules/site/coin_results.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/yaamp/modules/site/coin_results.php b/web/yaamp/modules/site/coin_results.php index f25bb91a3..e661e8a25 100644 --- a/web/yaamp/modules/site/coin_results.php +++ b/web/yaamp/modules/site/coin_results.php @@ -302,6 +302,14 @@ $txs = $remote->listtransactions($account, $maxrows); +// Coins with disabled accounting will not show any tx. $account should be "*" + +if (empty($txs)) { + $account = '*'; + $txs = $remote->listtransactions($account, $maxrows); +} + + if (empty($txs)) { if (!empty($remote->error)) { echo "RPC Error: {$remote->error}

";