Avoid having the same log statements in initNodes and resolveNodes

This commit is contained in:
Milos Gajdos 2020-01-10 12:27:49 +00:00
parent bf42c028fb
commit 1e009e52dd
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

View File

@ -375,7 +375,7 @@ func (n *network) initNodes(startup bool) {
// NOTE: this condition never fires
// as resolveNodes() never returns error
if err != nil && !startup {
log.Debugf("Network failed to resolve nodes: %v", err)
log.Debugf("Network failed to init nodes: %v", err)
return
}