mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-23 04:05:39 +00:00
fix nBytes check in multicast code
This commit is contained in:
parent
e7da3d72c4
commit
f7607557c1
@ -345,7 +345,7 @@ func (m *Multicast) listen() {
|
||||
continue
|
||||
}
|
||||
}
|
||||
if len(bs) < ed25519.PublicKeySize {
|
||||
if nBytes < ed25519.PublicKeySize {
|
||||
continue
|
||||
}
|
||||
var key ed25519.PublicKey
|
||||
|
Loading…
Reference in New Issue
Block a user