mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 08:20:28 +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
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(bs) < ed25519.PublicKeySize {
|
if nBytes < ed25519.PublicKeySize {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
var key ed25519.PublicKey
|
var key ed25519.PublicKey
|
||||||
|
Loading…
Reference in New Issue
Block a user