From 4223ec7cd071f4e893cd4316f3fa1bc01c736b40 Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Mon, 10 Jul 2023 09:38:46 +0200 Subject: [PATCH] lint --- types/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/block.go b/types/block.go index aff02b30b9..662478b7c0 100644 --- a/types/block.go +++ b/types/block.go @@ -1056,7 +1056,7 @@ type Blob struct { // Namespace returns the namespace of this blob encoded as a byte slice. func (b Blob) Namespace() []byte { - return append([]byte{byte(b.NamespaceVersion)}, b.NamespaceID...) + return append([]byte{b.NamespaceVersion}, b.NamespaceID...) } // StringIndented returns an indented string representation of the transactions.