From 9e2b47d663a65fc1d1cc29b636370644dbf0269f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 13 May 2021 11:11:35 +0300 Subject: [PATCH] [#493] node: Set default contract addresses to empty strings If default smart contract addresses are valid 20 byte strings, then omitting the values in configuration will not be tracked at startup. Signed-off-by: Leonard Lyubich --- cmd/neofs-node/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/neofs-node/config.go b/cmd/neofs-node/config.go index 48eddf718..46ebcd385 100644 --- a/cmd/neofs-node/config.go +++ b/cmd/neofs-node/config.go @@ -438,11 +438,11 @@ func defaultConfiguration(v *viper.Viper) { v.SetDefault(cfgAPIClientDialTimeout, 5*time.Second) - v.SetDefault(cfgAccountingContract, "1aeefe1d0dfade49740fff779c02cd4a0538ffb1") + v.SetDefault(cfgAccountingContract, "") - v.SetDefault(cfgContainerContract, "9d2ca84d7fb88213c4baced5a6ed4dc402309039") + v.SetDefault(cfgContainerContract, "") - v.SetDefault(cfgNetmapContract, "75194459637323ea8837d2afe8225ec74a5658c3") + v.SetDefault(cfgNetmapContract, "") v.SetDefault(cfgLogLevel, "info")