Browse Source

do not SPV channel announcements; this is too resource intensive

regtest_lnd
ThomasV 6 years ago
committed by SomberNight
parent
commit
b36a63d7c5
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnrouter.py

2
electrum/lnrouter.py

@ -293,7 +293,7 @@ class ChannelDB(SqlDB):
@sql
#@profiler
def on_channel_announcement(self, msg_payloads, trusted=False):
def on_channel_announcement(self, msg_payloads, trusted=True):
if type(msg_payloads) is dict:
msg_payloads = [msg_payloads]
new_channels = {}

Loading…
Cancel
Save