We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44db523 commit 4383b6fCopy full SHA for 4383b6f
chia/consensus/block_body_validation.py
@@ -367,8 +367,8 @@ async def validate_block_body(
367
368
# 14. Check for duplicate spends inside block
369
removal_counter = collections.Counter(removals)
370
- for k, v in removal_counter.items():
371
- if v > 1:
+ for count in removal_counter.values():
+ if count > 1:
372
return Err.DOUBLE_SPEND, None
373
374
# 15. Check if removals exist and were not previously spent. (unspent_db + diff_store + this_block)
0 commit comments