From cfde16e7bda7cde9999c8f8f6d0e895f762348b0 Mon Sep 17 00:00:00 2001 From: Michael Vandeberg Date: Wed, 2 Mar 2022 15:13:32 -0800 Subject: [PATCH] Fix build --- internal/bstore/reqhandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bstore/reqhandler.go b/internal/bstore/reqhandler.go index 33eaadd..67d981b 100644 --- a/internal/bstore/reqhandler.go +++ b/internal/bstore/reqhandler.go @@ -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