diff --git a/src/config.go b/src/config.go index 9751a18..72a604f 100644 --- a/src/config.go +++ b/src/config.go @@ -153,7 +153,7 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError { return &IPCError{Code: ipcErrorInvalidValue} } device.mutex.RLock() - peer, _ := device.peers[pubKey] + peer, _ = device.peers[pubKey] device.mutex.RUnlock() if peer == nil { peer = device.NewPeer(pubKey)