fix(discv4): ignore self-entry on neighbours response (#664)

This commit is contained in:
Matthias Seitz
2022-12-30 15:09:22 +01:00
committed by GitHub
parent 24d5612027
commit 4efb7b92b8

View File

@ -1116,6 +1116,9 @@ impl Discv4Service {
);
self.try_ping(closest, PingReason::Lookup(closest, ctx.clone()))
}
BucketEntry::SelfEntry => {
// we received our own node entry
}
_ => self.find_node(&closest, ctx.clone()),
}
}