Update networks/proof_worker.py
Browse files- networks/proof_worker.py +1 -1
networks/proof_worker.py
CHANGED
@@ -44,7 +44,7 @@ class ProofWorker:
|
|
44 |
hash = hasher.digest().hex()
|
45 |
if hash[:diff_len] <= difficulty:
|
46 |
return "gAAAAAB" + base
|
47 |
-
return
|
48 |
|
49 |
|
50 |
if __name__ == "__main__":
|
|
|
44 |
hash = hasher.digest().hex()
|
45 |
if hash[:diff_len] <= difficulty:
|
46 |
return "gAAAAAB" + base
|
47 |
+
return None # Returning None if proof token calculation fails
|
48 |
|
49 |
|
50 |
if __name__ == "__main__":
|