From 7a52bb31f1d1bbd494c2afb3865286579a0697bb Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 3 Aug 2021 20:51:02 +0300 Subject: [PATCH] [#740] innerring/notary: Fix reading notary config Signed-off-by: Pavel Karpy --- pkg/innerring/notary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/innerring/notary.go b/pkg/innerring/notary.go index 2ae88b3df6..807098dcf5 100644 --- a/pkg/innerring/notary.go +++ b/pkg/innerring/notary.go @@ -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")