|
@ -910,7 +910,7 @@ class LNWallet(LNWorker): |
|
|
delta = current_height - swap.locktime |
|
|
delta = current_height - swap.locktime |
|
|
tx_height = self.wallet.adb.get_tx_height(swap.funding_txid) |
|
|
tx_height = self.wallet.adb.get_tx_height(swap.funding_txid) |
|
|
if swap.is_reverse and tx_height.height <= 0: |
|
|
if swap.is_reverse and tx_height.height <= 0: |
|
|
label += ' (%s)' % _('funding transaction not confirmed') |
|
|
label += ' (%s)' % _('waiting for funding tx confirmation') |
|
|
if not swap.is_reverse and not swap.is_redeemed and swap.spending_txid is None and delta < 0: |
|
|
if not swap.is_reverse and not swap.is_redeemed and swap.spending_txid is None and delta < 0: |
|
|
label += f' (refundable in {-delta} blocks)' # fixme: only if unspent |
|
|
label += f' (refundable in {-delta} blocks)' # fixme: only if unspent |
|
|
out[txid] = { |
|
|
out[txid] = { |
|
|