Skip to content

Commit d25004c

Browse files
committed
wip
1 parent 334048b commit d25004c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

electrum/gui/qml/qetxfinalizer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@ async def prepare_swap_task():
499499
except Exception as e:
500500
self.swapError.emit(str(e))
501501
return
502+
else:
503+
# swap cancelled?
504+
if not sm.get_swap(tx.swap_payment_hash):
505+
return
502506

503507
self._wallet.sign_and_broadcast(self._tx, on_success=partial(self.on_signed_tx, False),
504508
on_failure=self.on_sign_failed)

0 commit comments

Comments
 (0)