1
0

swaps: store fee_preimage

This commit is contained in:
ThomasV
2020-06-12 10:07:36 +02:00
parent 540dd73f3b
commit c8506eaa39
3 changed files with 15 additions and 3 deletions

View File

@@ -632,6 +632,8 @@ 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