diff --git a/pkg/core/storage/helpers.go b/pkg/core/storage/helpers.go index 2776da38c..4a35d9ad7 100644 --- a/pkg/core/storage/helpers.go +++ b/pkg/core/storage/helpers.go @@ -74,7 +74,7 @@ func HeaderHashes(s Store) ([]util.Uint256, error) { sort.Sort(uint32Slice(sortedKeys)) for _, key := range sortedKeys { - hashes = append(hashes, hashMap[key]...) + hashes = append(hashes[:key], hashMap[key]...) } return hashes, nil