prepare to rename neofs-proto to neofs-api
This commit is contained in:
parent
b42537f8d8
commit
53af48372f
70 changed files with 565 additions and 563 deletions
|
@ -5,10 +5,10 @@ import (
|
|||
"encoding/binary"
|
||||
"sync"
|
||||
|
||||
"github.com/nspcc-dev/neofs-api/chain"
|
||||
"github.com/nspcc-dev/neofs-api/internal"
|
||||
"github.com/nspcc-dev/neofs-api/refs"
|
||||
crypto "github.com/nspcc-dev/neofs-crypto"
|
||||
"github.com/nspcc-dev/neofs-proto/chain"
|
||||
"github.com/nspcc-dev/neofs-proto/internal"
|
||||
"github.com/nspcc-dev/neofs-proto/refs"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
@ -113,7 +113,7 @@ func (m *Token) Sign(key *ecdsa.PrivateKey) error {
|
|||
}
|
||||
|
||||
// SetPublicKeys sets owner's public keys to the token
|
||||
func (m *Token) SetPublicKeys(keys... *ecdsa.PublicKey) {
|
||||
func (m *Token) SetPublicKeys(keys ...*ecdsa.PublicKey) {
|
||||
m.PublicKeys = m.PublicKeys[:0]
|
||||
for i := range keys {
|
||||
m.PublicKeys = append(m.PublicKeys, crypto.MarshalPublicKey(keys[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue