From 34156ef78dc4c82bc2543dfa79224527e30d674a Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 11 Aug 2020 20:31:03 +0300 Subject: [PATCH] core: fix (*HeaderHashList).Write comment --- pkg/core/header_hash_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/header_hash_list.go b/pkg/core/header_hash_list.go index 6a9ba334c..3a7a1c3f6 100644 --- a/pkg/core/header_hash_list.go +++ b/pkg/core/header_hash_list.go @@ -42,7 +42,7 @@ func (l *HeaderHashList) Last() util.Uint256 { return l.hashes[l.Len()-1] } -// WriteTo writes n underlying hashes to the given BinWriter +// Write writes n underlying hashes to the given BinWriter // starting from start. func (l *HeaderHashList) Write(bw *io.BinWriter, start, n int) error { bw.WriteArray(l.hashes[start : start+n])