mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
do not raise exception when add_own_channel adds channel update from the cache
This commit is contained in:
parent
e286ed1c13
commit
bd57880799
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue