Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Handle Empty Array return values for findProvs method#1003

Merged
alanshaw merged 1 commit intoipfs-inactive:masterfrom
KrishnaPG:patch-3
May 17, 2019
Merged

Handle Empty Array return values for findProvs method#1003
alanshaw merged 1 commit intoipfs-inactive:masterfrom
KrishnaPG:patch-3

Conversation

@KrishnaPG
Copy link
Copy Markdown
Contributor

@KrishnaPG KrishnaPG commented May 16, 2019

Correcting the array check to happen before the individual element checks. fixes #928

Correcting the array check to happen before the individual element checks. Issue: #928
@alanshaw alanshaw merged commit 15ab7c5 into ipfs-inactive:master May 17, 2019
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.

ipfs.dht.findProvs() can't catch error with fake hash

2 participants