diff --git a/server.go b/server.go index 3d381fb2..82faf9f5 100644 --- a/server.go +++ b/server.go @@ -799,7 +799,7 @@ func (sp *serverPeer) OnFilterAdd(_ *peer.Peer, msg *wire.MsgFilterAdd) { return } - if sp.filter.IsLoaded() { + if !sp.filter.IsLoaded() { peerLog.Debugf("%s sent a filteradd request with no filter "+ "loaded -- disconnecting", sp) sp.Disconnect()