mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
automation: Accept multiple concurrent bids.
This commit is contained in:
@@ -21,6 +21,10 @@ class TemporaryError(ValueError):
|
||||
pass
|
||||
|
||||
|
||||
class AutomationConstraint(ValueError):
|
||||
pass
|
||||
|
||||
|
||||
def ensure(v, err_string):
|
||||
if not v:
|
||||
raise ValueError(err_string)
|
||||
|
||||
Reference in New Issue
Block a user