mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-10 07:20:39 +03: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