forked from TrueCloudLab/frostfs-node
[#505] ir/container: Use client wrapper with enabled notary calls
Construct wrapper over the Container contract client with `TryNotary` option since it is required to perform invocations of notary contract. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
8d201f920e
commit
017fb6abed
3 changed files with 2 additions and 3 deletions
|
@ -357,7 +357,7 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error
|
|||
return nil, err
|
||||
}
|
||||
|
||||
cnrClient, err := cntWrapper.NewFromMorph(server.morphClient, server.contracts.container, fee)
|
||||
cnrClient, err := cntWrapper.NewFromMorph(server.morphClient, server.contracts.container, fee, cntWrapper.TryNotary())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue