From 4de4da1e2a0a9d912b78400808cc6d7679a69e2f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 2 Mar 2021 20:47:59 +0200 Subject: [PATCH] lib/storage: typo fix: umarshal -> unmarshal --- lib/storage/block_header_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/block_header_test.go b/lib/storage/block_header_test.go index aaa597914..a88bcf88b 100644 --- a/lib/storage/block_header_test.go +++ b/lib/storage/block_header_test.go @@ -47,7 +47,7 @@ func testBlockHeaderMarshalUnmarshal(t *testing.T, bh *blockHeader) { var bh1 blockHeader tail, err := bh1.Unmarshal(dst) if err != nil { - t.Fatalf("cannot umarshal bh=%+v from dst=%x: %s", bh, dst, err) + t.Fatalf("cannot unmarshal bh=%+v from dst=%x: %s", bh, dst, err) } if len(tail) > 0 { t.Fatalf("unexpected tail left after unmarshaling of bh=%+v: %x", bh, tail)