Browse Source

Fix missing early return bug in LP_cancel_order

patch-2
Luke Childs 7 years ago
committed by GitHub
parent
commit
d85538ed21
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      iguana/exchanges/LP_ordermatch.c

2
iguana/exchanges/LP_ordermatch.c

@ -629,7 +629,7 @@ char *LP_cancel_order(char *uuidstr)
{
LP_failedmsg(LP_Alicequery.R.requestid,LP_Alicequery.R.quoteid,-9998,LP_Alicequery.uuidstr);
LP_alicequery_clear();
clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}");
return(clonestr("{\"result\":\"success\",\"status\":\"uuid canceled\"}"));
}
return(clonestr("{\"error\":\"uuid not cancellable\"}"));
}

Loading…
Cancel
Save