[#759] pkg/innerring: Log notary status on startup

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-19 17:18:41 +03:00 committed by Alex Vanin
parent 8178c5e69b
commit 85a4682c0c

View file

@ -368,6 +368,11 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error
!withoutMainNet && server.mainnetClient.ProbeNotary(), // if mainnet disabled then notary flag must be disabled too
)
log.Debug("notary support",
zap.Bool("sidechain_enabled", !server.sideNotaryConfig.disabled),
zap.Bool("mainchain_enabled", !server.mainNotaryConfig.disabled),
)
// get all script hashes of contracts
server.contracts, err = parseContracts(
cfg,