mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
follow-up previous commit
This commit is contained in:
parent
3a35f90aa0
commit
f8da0f87a7
2 changed files with 2 additions and 3 deletions
|
@ -22,6 +22,7 @@ from .transaction import Transaction
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .network import Network
|
from .network import Network
|
||||||
|
from .lnsweep import SweepInfo
|
||||||
|
|
||||||
class ListenerItem(NamedTuple):
|
class ListenerItem(NamedTuple):
|
||||||
# this is triggered when the lnwatcher is all done with the outpoint used as index in LNWatcher.tx_progress
|
# this is triggered when the lnwatcher is all done with the outpoint used as index in LNWatcher.tx_progress
|
||||||
|
|
|
@ -66,7 +66,6 @@ from .lnwatcher import LNWalletWatcher
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .network import Network
|
from .network import Network
|
||||||
from .wallet import Abstract_Wallet
|
from .wallet import Abstract_Wallet
|
||||||
from .lnsweep import SweepInfo
|
|
||||||
|
|
||||||
|
|
||||||
NUM_PEERS_TARGET = 4
|
NUM_PEERS_TARGET = 4
|
||||||
|
@ -677,7 +676,6 @@ class LNWallet(LNWorker):
|
||||||
if peer is None:
|
if peer is None:
|
||||||
self.logger.info("peer not found for {}".format(bh2u(chan.node_id)))
|
self.logger.info("peer not found for {}".format(bh2u(chan.node_id)))
|
||||||
return
|
return
|
||||||
if event == 'fee':
|
|
||||||
await peer.bitcoin_fee_update(chan)
|
await peer.bitcoin_fee_update(chan)
|
||||||
conf = self.lnwatcher.get_tx_height(chan.funding_outpoint.txid).conf
|
conf = self.lnwatcher.get_tx_height(chan.funding_outpoint.txid).conf
|
||||||
peer.on_network_update(chan, conf)
|
peer.on_network_update(chan, conf)
|
||||||
|
|
Loading…
Add table
Reference in a new issue