Fix lint errors

This commit is contained in:
Neil Alexander 2022-04-17 17:56:54 +01:00
parent c7ffbc05a5
commit 90f9be38c5
3 changed files with 3 additions and 4 deletions

View file

@ -153,7 +153,7 @@ func (k *keyStore) update(key ed25519.PublicKey) *keyInfo {
k.resetTimeout(info)
k.mutex.Unlock()
for _, packet := range packets {
k.core.WriteTo(packet, iwt.Addr(info.key[:]))
_, _ = k.core.WriteTo(packet, iwt.Addr(info.key[:]))
}
return info
}