Browse Source

do not raise exception when add_own_channel adds channel update from the cache

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
bd57880799
  1. 3
      electrum/channel_db.py

3
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()

Loading…
Cancel
Save