From 31684abb511db4e15f94bfc9cc1d5b1ae05350f3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 5 May 2019 13:34:31 +0200 Subject: [PATCH] do not SPV channel announcements; this is too resource intensive --- electrum/lnrouter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnrouter.py b/electrum/lnrouter.py index e0f712665..50f814ce4 100644 --- a/electrum/lnrouter.py +++ b/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 = {}