forked from TrueCloudLab/frostfs-node
[#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 <leonard@nspcc.ru>
This commit is contained in:
parent
9920425db9
commit
9e2b47d663
1 changed files with 3 additions and 3 deletions
|
@ -438,11 +438,11 @@ func defaultConfiguration(v *viper.Viper) {
|
||||||
|
|
||||||
v.SetDefault(cfgAPIClientDialTimeout, 5*time.Second)
|
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")
|
v.SetDefault(cfgLogLevel, "info")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue