Fix problem in is_cancel_order_result_suitable

fixes #7119
This commit is contained in:
Matthias 2022-07-25 17:47:52 +02:00
parent ea112fb583
commit 4c68bec171

View File

@ -1264,7 +1264,7 @@ class Exchange:
return False return False
required = ('fee', 'status', 'amount') required = ('fee', 'status', 'amount')
return all(k in corder for k in required) return all(corder.get(k, None) is not None for k in required)
def cancel_order_with_result(self, order_id: str, pair: str, amount: float) -> Dict: def cancel_order_with_result(self, order_id: str, pair: str, amount: float) -> Dict:
""" """