diff --git a/src/multicast/multicast.go b/src/multicast/multicast.go index 59f64dc..220be7f 100644 --- a/src/multicast/multicast.go +++ b/src/multicast/multicast.go @@ -345,7 +345,7 @@ func (m *Multicast) listen() { continue } } - if len(bs) < ed25519.PublicKeySize { + if nBytes < ed25519.PublicKeySize { continue } var key ed25519.PublicKey