Add missing format specific in addrmanager.
Found by go vet.
This commit is contained in:
parent
47c07ee5e1
commit
f983b0846e
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ func (a *AddrManager) deserialisePeers(filePath string) error {
|
||||||
}
|
}
|
||||||
r, err := os.Open(filePath)
|
r, err := os.Open(filePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("%s error opening file: ", filePath, err)
|
return fmt.Errorf("%s error opening file: %v", filePath, err)
|
||||||
}
|
}
|
||||||
defer r.Close()
|
defer r.Close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue