mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
fix the logic error in add_provider handling
This commit is contained in:
@ -378,7 +378,7 @@ class KadDHT(Service):
|
||||
|
||||
# Process the signed-records of provider if sent
|
||||
if not maybe_consume_signed_record(
|
||||
message, self.host, peer_id
|
||||
provider_proto, self.host
|
||||
):
|
||||
logger.error(
|
||||
"Received an invalid-signed-record,"
|
||||
|
||||
Reference in New Issue
Block a user