-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipfs dht findprovs
can't handle /ipfs/$hash
#5311
Comments
need to do a path resolution before passing it to the dht, I think we're currently just calling cid.Parse |
the source code just decode input argument using cid.Decode
so what is the legal input for are OK? any other format? @whyrusleeping |
@grokcoder changing |
got it, thx @victorbjelkholm |
sorry guys but how do I change that ipfs/$hash path to something like xfiles/$hash? |
@meteorplus please keep discussions on-topic. |
okay sorry |
fix: dht findprovs unable to handle /ipfs/hash #5311
Fixed. |
Version information:
Type:
Bug
Description:
Trying to find out how many providers there are for a hash and it's link, so wanted to run things via
ipfs resolve
that returns in the format of/ipfs/$hash
. However,ipfs dht findprovs
only seems to accept the hashes without the/ipfs
prefix. When trying with/ipfs/$hash
, the error message isError: selected encoding not supported
The text was updated successfully, but these errors were encountered: