From c7dcfab3fce6e015b8973904cd31c755e616f1c7 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 11 Mar 2025 13:31:49 +0100 Subject: [PATCH] lnwatcher: remove unused class ListenerItem --- electrum/lnwatcher.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index dcff6800f..737cac695 100644 --- a/electrum/lnwatcher.py +++ b/electrum/lnwatcher.py @@ -23,11 +23,6 @@ if TYPE_CHECKING: from .lnsweep import SweepInfo from .lnworker import LNWallet -class ListenerItem(NamedTuple): - # this is triggered when the lnwatcher is all done with the outpoint used as index in LNWatcher.tx_progress - all_done : asyncio.Event - # txs we broadcast are put on this queue so that the test can wait for them to get mined - tx_queue : asyncio.Queue class TxMinedDepth(IntEnum): """ IntEnum because we call min() in get_deepest_tx_mined_depth_for_txids """