mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 08:00:54 +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
|
# Process the signed-records of provider if sent
|
||||||
if not maybe_consume_signed_record(
|
if not maybe_consume_signed_record(
|
||||||
message, self.host, peer_id
|
provider_proto, self.host
|
||||||
):
|
):
|
||||||
logger.error(
|
logger.error(
|
||||||
"Received an invalid-signed-record,"
|
"Received an invalid-signed-record,"
|
||||||
|
|||||||
Reference in New Issue
Block a user