diff --git a/cmd/authmate/main.go b/cmd/authmate/main.go index 6f28cce17..8f32e0112 100644 --- a/cmd/authmate/main.go +++ b/cmd/authmate/main.go @@ -441,8 +441,10 @@ func createNeoFS(ctx context.Context, log *zap.Logger, key *ecdsa.PrivateKey, pe return nil, err } - var neoFS neofs.AuthmateNeoFS + var neoFS neofs.NeoFS neoFS.SetConnectionPool(p) - return &neoFS, nil + return &neofs.AuthmateNeoFS{ + NeoFS: &neoFS, + }, nil }