lack of a peers.json isn't an error, don't log in that case.
This commit is contained in:
parent
4455e77dde
commit
7d24f31fbd
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ func (a *AddrManager) deserialisePeers(filePath string) error {
|
|||
|
||||
_, err := os.Stat(filePath)
|
||||
if os.IsNotExist(err) {
|
||||
return fmt.Errorf("%s does not exist.\n", filePath)
|
||||
return nil
|
||||
}
|
||||
r, err := os.Open(filePath)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue