mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-20 18:09:54 +00:00
cryptopia: bug fix in the cancel order function
This commit is contained in:
parent
cefd7ffc59
commit
1a51a4f2ec
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ function doCryptopiaCancelOrder($OrderID=false)
|
||||||
{
|
{
|
||||||
if(!$OrderID) return;
|
if(!$OrderID) return;
|
||||||
|
|
||||||
$params = array('CancelType'=>'Trade', 'OrderId'=>$OrderID->OrderId);
|
$params = array('CancelType'=>'Trade', 'OrderId'=>$OrderID);
|
||||||
$res = cryptopia_api_user('CancelTrade', $params);
|
$res = cryptopia_api_user('CancelTrade', $params);
|
||||||
if($res && $res->Success) {
|
if($res && $res->Success) {
|
||||||
$db_order = getdbosql('db_orders', "market=:market AND uuid=:uuid", array(
|
$db_order = getdbosql('db_orders', "market=:market AND uuid=:uuid", array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue