tdo not raise exception when add_own_channel adds channel update from the cache - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit bd578807997ee6dc13e6a5e996d7c3eb68c01af0 DIR parent e286ed1c1385d934107a90e1e2edc35e7c6d2ffe HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 4 Sep 2019 08:01:08 +0200 do not raise exception when add_own_channel adds channel update from the cache Diffstat: M electrum/channel_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/channel_db.py b/electrum/channel_db.py t@@ -377,8 +377,9 @@ class ChannelDB(SqlDB): ) def add_channel_update(self, payload): + # called from add_own_channel + # the update may be categorized as deprecated because of caching categorized_chan_upds = self.add_channel_updates([payload], verify=False) - assert len(categorized_chan_upds.good) == 1, categorized_chan_upds def create_database(self): c = self.conn.cursor()