1
0

swaps: mapping of prepay_hash to payment_hash

This commit is contained in:
ThomasV
2020-06-15 11:48:49 +02:00
parent c8506eaa39
commit a1e8f9e2aa
3 changed files with 15 additions and 14 deletions

View File

@@ -632,8 +632,6 @@ class LNWallet(LNWorker):
}
# add txid to merge item with onchain item
swap = self.swap_manager.get_swap(payment_hash)
if swap is None:
swap = self.swap_manager.get_swap_by_prepay(payment_hash)
if swap:
if swap.is_reverse:
item['txid'] = swap.spending_txid