Commit 07578fe2 authored by obscuren's avatar obscuren

Pretty print nonce

parent b15a4985
......@@ -253,7 +253,7 @@ func (sm *StateManager) ValidateBlock(block *Block) error {
// Verify the nonce of the block. Return an error if it's not valid
if !sm.Pow.Verify(block.HashNoNonce(), block.Difficulty, block.Nonce) {
return ValidationError("Block's nonce is invalid (= %v)", block.Nonce)
return ValidationError("Block's nonce is invalid (= %v)", ethutil.Hex(block.Nonce))
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment