diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index c0784243..46d2c252 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -80,7 +80,12 @@ func (c *Client) EnableNotarySupport(opts ...NotaryOption) error { } if cfg.proxy.Equals(util.Uint160{}) { - return errors.New("proxy contract hash is missing") + var err error + + cfg.proxy, err = c.NNSContractAddress(NNSProxyContractName) + if err != nil { + return fmt.Errorf("get proxy contract addess from NNS: %w", err) + } } notaryCfg := ¬ary{