mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-25 04:40:34 +00:00
cryptopia: double check orders api result in trading
This commit is contained in:
parent
d41d5c324b
commit
06f397a357
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ function doCryptopiaTrading($quick=false)
|
|||
foreach($list as $db_order)
|
||||
{
|
||||
$found = false;
|
||||
if(is_object($orders) && $orders->Success)
|
||||
foreach($orders->Data as $order) {
|
||||
if(stripos($order->Type, 'Sell') === false) continue;
|
||||
if($order->OrderId == $db_order->uuid) {
|
||||
|
|
Loading…
Add table
Reference in a new issue