prepare to rename neofs-proto to neofs-api

This commit is contained in:
Evgeniy Kulikov 2020-01-30 16:32:50 +03:00
parent b42537f8d8
commit 53af48372f
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
70 changed files with 565 additions and 563 deletions

View file

@ -4,7 +4,7 @@ import (
"bytes"
"github.com/mr-tron/base58"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-api/internal"
"github.com/nspcc-dev/tzhash/tz"
"github.com/pkg/errors"
)
@ -70,7 +70,7 @@ func (h Hash) Verify(data []byte) bool { return h.Equal(Sum(data)) }
// Validate checks if combined hashes are equal to current Hash.
func (h Hash) Validate(hashes []Hash) bool {
var hashBytes = make([][]byte, 0, len(hashes))
hashBytes := make([][]byte, 0, len(hashes))
for i := range hashes {
hashBytes = append(hashBytes, hashes[i].Bytes())
}