Skip to content
Snippets Groups Projects
Commit 4ee9a160 authored by Ethan Buchman's avatar Ethan Buchman
Browse files

use hex to log bytes

parent 2a7f09dd
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ func (ni *NodeInfo) CompatibleWith(no *NodeInfo) error {
// nodes must share a common genesis root
if !bytes.Equal(ni.Genesis, no.Genesis) {
return fmt.Errorf("Peer has a different genesis root. Got %v, expected %v", no.Genesis, ni.Genesis)
return fmt.Errorf("Peer has a different genesis root. Got %X, expected %X", no.Genesis, ni.Genesis)
}
return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment