[#740] innerring/notary: Fix reading notary config

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
remotes/fyrchik/meta-pebble
Pavel Karpy 2021-08-03 20:51:02 +03:00 committed by Alex Vanin
parent e8665f6cef
commit 7a52bb31f1
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ func parseNotaryConfigs(cfg *viper.Viper, withSideNotary, withMainNotary bool) (
return
}
main.disabled = withMainNotary
main.disabled = !withMainNotary
main.amount = fixedn.Fixed8(cfg.GetInt64("notary.main.deposit_amount"))
main.duration = cfg.GetUint32("timers.main_notary")