mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
debug: Log auto accepting event.
This commit is contained in:
@@ -157,6 +157,7 @@ class EventLogTypes(IntEnum):
|
||||
LOCK_TX_A_REFUND_SPEND_TX_SEEN = auto()
|
||||
ERROR = auto()
|
||||
AUTOMATION_CONSTRAINT = auto()
|
||||
AUTOMATION_ACCEPTING_BID = auto()
|
||||
|
||||
|
||||
class XmrSplitMsgTypes(IntEnum):
|
||||
@@ -335,6 +336,10 @@ def describeEventEntry(event_type, event_msg):
|
||||
return 'Warning: ' + event_msg
|
||||
if event_type == EventLogTypes.ERROR:
|
||||
return 'Error: ' + event_msg
|
||||
if event_type == EventLogTypes.AUTOMATION_CONSTRAINT:
|
||||
return 'Failed auto accepting'
|
||||
if event_type == EventLogTypes.AUTOMATION_ACCEPTING_BID:
|
||||
return 'Auto accepting'
|
||||
|
||||
|
||||
def getVoutByAddress(txjs, p2sh):
|
||||
|
||||
Reference in New Issue
Block a user