forked from TrueCloudLab/frostfs-node
[#625] client/netmap: remove intermediate wrapper
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
8c5c3ac9e8
commit
97d18bc515
36 changed files with 511 additions and 1011 deletions
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"sync"
|
||||
|
||||
wrapNetmap "github.com/nspcc-dev/neofs-node/pkg/morph/client/netmap/wrapper"
|
||||
nmClient "github.com/nspcc-dev/neofs-node/pkg/morph/client/netmap"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/timer"
|
||||
)
|
||||
|
||||
|
@ -13,13 +13,13 @@ type (
|
|||
EigenTrustDuration struct {
|
||||
sync.Mutex
|
||||
|
||||
nm *wrapNetmap.Wrapper
|
||||
nm *nmClient.Client
|
||||
val uint32
|
||||
}
|
||||
)
|
||||
|
||||
// NewEigenTrustDuration returns instance of EigenTrustDuration.
|
||||
func NewEigenTrustDuration(nm *wrapNetmap.Wrapper) *EigenTrustDuration {
|
||||
func NewEigenTrustDuration(nm *nmClient.Client) *EigenTrustDuration {
|
||||
return &EigenTrustDuration{
|
||||
nm: nm,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue