rename LNChanAnnVerifier
This commit is contained in:
@@ -36,7 +36,7 @@ import asyncio
|
||||
from . import constants
|
||||
from .util import PrintError, bh2u, profiler, get_headers_dir, bfh, is_ip_address, list_enabled_bits
|
||||
from .storage import JsonDB
|
||||
from .lnchanannverifier import LNChanAnnVerifier, verify_sig_for_channel_update
|
||||
from .lnchannelverifier import LNChannelVerifier, verify_sig_for_channel_update
|
||||
from .crypto import Hash
|
||||
from . import ecc
|
||||
from .lnutil import LN_GLOBAL_FEATURE_BITS, LNPeerAddr
|
||||
@@ -277,7 +277,7 @@ class ChannelDB(JsonDB):
|
||||
self._recent_peers = []
|
||||
self._last_good_address = {} # node_id -> LNPeerAddr
|
||||
|
||||
self.ca_verifier = LNChanAnnVerifier(network, self)
|
||||
self.ca_verifier = LNChannelVerifier(network, self)
|
||||
# FIXME if the channel verifier raises, it kills network.main_taskgroup
|
||||
asyncio.run_coroutine_threadsafe(self.network.add_job(self.ca_verifier.main()), network.asyncio_loop)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user