forked from TrueCloudLab/frostfs-node
[#562] pkg/morph: remove neofs-crypto uses
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
fcdef227e4
commit
5cab0026c3
6 changed files with 30 additions and 52 deletions
|
@ -30,7 +30,7 @@ func initMorphComponents(c *cfg) {
|
|||
})
|
||||
|
||||
for i := range addresses {
|
||||
cli, err := client.New(&c.key.PrivateKey, addresses[i], client.WithDialTimeout(dialTimeout))
|
||||
cli, err := client.New(c.key, addresses[i], client.WithDialTimeout(dialTimeout))
|
||||
if err == nil {
|
||||
c.log.Info("neo RPC connection established",
|
||||
zap.String("endpoint", addresses[i]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue