diff --git a/web/yaamp/modules/site/coin_results.php b/web/yaamp/modules/site/coin_results.php index 935db34..2cca73b 100644 --- a/web/yaamp/modules/site/coin_results.php +++ b/web/yaamp/modules/site/coin_results.php @@ -202,6 +202,15 @@ $account = ''; if ($coin->symbol == 'DCR') $account = '*'; $txs = $remote->listtransactions($account, 2500); + +if (empty($txs)) { + if (!empty($remote->error)) { + echo "RPC Error: {$remote->error}

"; + } + // retry... + $txs = $remote->listtransactions($account, 200); +} + $txs_array = array(); $lastday = ''; if (!empty($txs)) {