use new pow value formats

master
Kevin Froman 2020-09-25 08:09:08 +00:00
parent 366295f09c
commit fa0318802b
1 changed files with 1 additions and 1 deletions

View File

@ -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