forked from TrueCloudLab/frostfs-node
[#759] pkg/innerring: Log notary status on startup
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
8178c5e69b
commit
85a4682c0c
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue