mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 16:35:07 +03:00
Merge pull request #6 from vikulin/future
fix nBytes check in multicast code
This commit is contained in:
commit
37b386eb71
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ func (m *Multicast) listen() {
|
|||
continue
|
||||
}
|
||||
}
|
||||
if len(bs) < ed25519.PublicKeySize {
|
||||
if nBytes < ed25519.PublicKeySize {
|
||||
continue
|
||||
}
|
||||
var key ed25519.PublicKey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue