Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

fix: get many should not fail if found locally #161

Merged
merged 1 commit into from
Dec 6, 2019

Conversation

vasco-santos
Copy link
Member

Currently, putting and getting data from the same node fails because teh node has no peers on the routing table.

Per the previous behaviour:

https://github.com/libp2p/js-libp2p-kad-dht/blob/v0.16.1/src/index.js#L335-L394

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vasco-santos vasco-santos merged commit 091db13 into master Dec 6, 2019
@vasco-santos vasco-santos deleted the fix/get-many-should-not-fail-if-found-local branch December 6, 2019 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants