Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Mar 2, 2022
1 parent 44825f7 commit cfde16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/bstore/reqhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type BlockNotPresent struct {
}

func (e *BlockNotPresent) Error() string {
return fmt.Sprintf("Block not present - ID: 0x%v", hex.Encode(e.blockID))
return fmt.Sprintf("Block not present - ID: 0x%v", hex.EncodeToString(e.blockID))
}

// DeserializeError is an error type for errors during deserialization
Expand Down

0 comments on commit cfde16e

Please sign in to comment.