use new pow value formats
This commit is contained in:
		
							parent
							
								
									366295f09c
								
							
						
					
					
						commit
						fa0318802b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue