From 68399ca31c7ac54b21b371c0c5863b51845108f2 Mon Sep 17 00:00:00 2001 From: shubhendra Date: Fri, 26 Mar 2021 18:45:40 +0530 Subject: [PATCH] Iterate dictionary directly Signed-off-by: shubhendra --- lbry/wallet/server/db/writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/server/db/writer.py b/lbry/wallet/server/db/writer.py index f7d30fd85..8c739a0e8 100644 --- a/lbry/wallet/server/db/writer.py +++ b/lbry/wallet/server/db/writer.py @@ -714,7 +714,7 @@ class SQLDB: claim_in_channel.channel_hash=claim.claim_hash ) WHERE claim_hash = ? - """, [(channel_hash,) for channel_hash in all_channel_keys.keys()]) + """, [(channel_hash,) for channel_hash in all_channel_keys]) sub_timer.stop() sub_timer = timer.add_timer('update blocked claims list')