From e6c1c86dffda4a7ca4ee4ec240734080306ebde6 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 28 Oct 2025 23:40:36 +0200 Subject: [PATCH] doc: clarify LOCK_TX_A_REFUND event descriptions "Lock tx A refund tx seen in chain" is confusing as that tx must still be spent for the refund to occur. --- basicswap/basicswap_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basicswap/basicswap_util.py b/basicswap/basicswap_util.py index 719034e..c388bf1 100644 --- a/basicswap/basicswap_util.py +++ b/basicswap/basicswap_util.py @@ -459,7 +459,7 @@ def describeEventEntry(event_type, event_msg): if event_type == EventLogTypes.LOCK_TX_B_INVALID: return "Detected invalid lock Tx B" if event_type == EventLogTypes.LOCK_TX_A_REFUND_TX_PUBLISHED: - return "Lock tx A refund tx published" + return "Lock tx A pre-refund tx published" if event_type == EventLogTypes.LOCK_TX_A_REFUND_SPEND_TX_PUBLISHED: return "Lock tx A refund spend tx published" if event_type == EventLogTypes.LOCK_TX_A_REFUND_SWIPE_TX_PUBLISHED: @@ -471,7 +471,7 @@ def describeEventEntry(event_type, event_msg): if event_type == EventLogTypes.LOCK_TX_B_SPEND_TX_PUBLISHED: return "Lock tx B spend tx published" if event_type == EventLogTypes.LOCK_TX_A_REFUND_TX_SEEN: - return "Lock tx A refund tx seen in chain" + return "Lock tx A pre-refund tx seen in chain" if event_type == EventLogTypes.LOCK_TX_A_REFUND_SPEND_TX_SEEN: return "Lock tx A refund spend tx seen in chain" if event_type == EventLogTypes.SYSTEM_WARNING: