Shuddho commited on
Commit
8da6144
1 Parent(s): 6eacfb2

Update networks/proof_worker.py

Browse files
Files changed (1) hide show
  1. 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 {} # Returning None if proof token calculation fails
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__":