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])