diff --git a/internal/trie/node/decode_test.go b/internal/trie/node/decode_test.go index 5d45ad7cd5..9cf9979dda 100644 --- a/internal/trie/node/decode_test.go +++ b/internal/trie/node/decode_test.go @@ -240,7 +240,7 @@ func Test_decodeBranch(t *testing.T) { partialKeyLength: 1, errWrapped: io.EOF, errMessage: "decoding inlined child at index 0: " + - "cannot decode header: cannot read header byte: EOF", + "decoding header: reading header byte: EOF", }, "branch with inlined branch and leaf": { reader: bytes.NewBuffer(concatByteSlices([][]byte{