Update networks/proof_worker.py
Browse files- networks/proof_worker.py +2 -2
networks/proof_worker.py
CHANGED
@@ -53,9 +53,9 @@ class ProofWorker:
|
|
53 |
return self.proof_token
|
54 |
|
55 |
|
56 |
-
if
|
57 |
seed, difficulty = "0.42665582693491433", "05cdf2"
|
58 |
worker = ProofWorker()
|
59 |
proof_token = worker.calc_proof_token(seed, difficulty)
|
60 |
print(f"proof_token: {proof_token}")
|
61 |
-
# python -m networks.proof_worker
|
|
|
53 |
return self.proof_token
|
54 |
|
55 |
|
56 |
+
if __name__ == "__main__":
|
57 |
seed, difficulty = "0.42665582693491433", "05cdf2"
|
58 |
worker = ProofWorker()
|
59 |
proof_token = worker.calc_proof_token(seed, difficulty)
|
60 |
print(f"proof_token: {proof_token}")
|
61 |
+
# python -m networks.proof_worker
|