[#770] node/cmd: Add TryNotary to SN container wrapper

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-25 14:12:24 +03:00 committed by Pavel Karpy
parent 1fedd8f860
commit 2f343a15e5

View file

@ -41,7 +41,7 @@ const (
)
func initContainerService(c *cfg) {
wrap, err := wrapper.NewFromMorph(c.cfgMorph.client, c.cfgContainer.scriptHash, 0)
wrap, err := wrapper.NewFromMorph(c.cfgMorph.client, c.cfgContainer.scriptHash, 0, wrapper.TryNotary())
fatalOnErr(err)
cnrSrc := wrapper.AsContainerSource(wrap)