electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit bd578807997ee6dc13e6a5e996d7c3eb68c01af0
parent e286ed1c1385d934107a90e1e2edc35e7c6d2ffe
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:
Melectrum/channel_db.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/channel_db.py b/electrum/channel_db.py @@ -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()