From fa0318802b6d32628d93279d06e15dbad0b25403 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Fri, 25 Sep 2020 08:09:08 +0000 Subject: [PATCH] use new pow value formats --- src/onionrproofs/subprocesspow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onionrproofs/subprocesspow.py b/src/onionrproofs/subprocesspow.py index 901f0ef4..426436b7 100755 --- a/src/onionrproofs/subprocesspow.py +++ b/src/onionrproofs/subprocesspow.py @@ -125,7 +125,7 @@ class SubprocessPOW: except KeyboardInterrupt: break # Load nonce into block metadata - metadata['pow'] = nonce + metadata['c'] = nonce # Serialize metadata, combine with block data payload = json.dumps(metadata).encode() + b'\n' + data # Check sha3_256 hash of block, compare to puzzle