forked from TrueCloudLab/frostfs-node
[#740] innerring/notary: Fix reading notary config
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
e8665f6cef
commit
7a52bb31f1
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue