[#658] morph/neofs: Add TryNotary() option

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-07-01 20:00:47 +03:00 committed by Alex Vanin
parent c0093b2b79
commit c90f054f35
2 changed files with 27 additions and 3 deletions

View file

@ -423,7 +423,7 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error
}
neofsClient, err := neofsWrapper.NewFromMorph(server.mainnetClient, server.contracts.neofs,
server.feeConfig.MainChainFee())
server.feeConfig.MainChainFee(), neofsWrapper.TryNotary())
if err != nil {
return nil, err
}