1
0

submarine_swaps: make callback async (follow-up previous commit)

This commit is contained in:
ThomasV
2025-05-06 13:03:38 +02:00
parent 5be646dfd2
commit 1c3268c2ff

View File

@@ -341,7 +341,8 @@ class SwapManager(Logger):
if sha256(preimage) == swap.payment_hash:
return preimage
def _claim_swap(self, swap: SwapData) -> None:
@log_exceptions
async def _claim_swap(self, swap: SwapData) -> None:
assert self.network
assert self.lnwatcher
if not self.lnwatcher.adb.is_up_to_date():