fix lint issues across codebase

This commit is contained in:
Username
2025-12-20 17:20:27 +01:00
parent adbb5be5c0
commit 9da33f786e
6 changed files with 29 additions and 32 deletions

View File

@@ -166,7 +166,7 @@ def solve_pow(nonce, difficulty):
if byte == 0:
zero_bits += 8
else:
zero_bits += (8 - byte.bit_length())
zero_bits += 8 - byte.bit_length()
break
if zero_bits >= difficulty: