mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-29 23:00:33 +00:00
wallet: show rpc listtransactions error
This commit is contained in:
parent
0399cc2c95
commit
993cb428f5
1 changed files with 9 additions and 0 deletions
|
@ -202,6 +202,15 @@ $account = '';
|
|||
if ($coin->symbol == 'DCR') $account = '*';
|
||||
|
||||
$txs = $remote->listtransactions($account, 2500);
|
||||
|
||||
if (empty($txs)) {
|
||||
if (!empty($remote->error)) {
|
||||
echo "<b>RPC Error: {$remote->error}</b><p/>";
|
||||
}
|
||||
// retry...
|
||||
$txs = $remote->listtransactions($account, 200);
|
||||
}
|
||||
|
||||
$txs_array = array(); $lastday = '';
|
||||
|
||||
if (!empty($txs)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue