Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix exeception on erasing not-exist key
  • Loading branch information
afalaleev committed Feb 20, 2022
commit fea297df45185b9cba578978fd18967d25c04cdf
3 changes: 2 additions & 1 deletion proxy/indexer/airdropper.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ def process_scheduled_trxs(self):
})

for eth_address in success_addresses:
del self.airdrop_scheduled[eth_address]
if eth_address in self.airdrop_scheduled:
del self.airdrop_scheduled[eth_address]

def process_functions(self):
"""
Expand Down