mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Add missing format specific in addrmanager.
Found by go vet.
This commit is contained in:
parent
47c07ee5e1
commit
f983b0846e
@ -507,7 +507,7 @@ func (a *AddrManager) deserialisePeers(filePath string) error {
|
||||
}
|
||||
r, err := os.Open(filePath)
|
||||
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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user