This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ipfs.files.get throws error on multiaddr #430
Labels
kind/support
A question or request for support
Comments
You are using it with a |
@diasdavid Yes, and the api says I can use a |
Ups, its a typo, sorry about that @somebody1234 -- ipfs-inactive/interface-js-ipfs-core@dad7f81 |
Okay, how would I get a file by filename? |
Also, I'm using the |
@somebody1234 could you provide a snippet on how to reproduce? |
Snippet:
|
It's Neocities' hash, I was using it for testing |
Got it, we don't have both networks connected (yet), so you won't be able to resolve hashes from go-ipfs in js-ipfs. This will change soon. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using
ipfs = new IPFS()
to initialize, and when I useipfs.files.get
with a multiaddr it rejects the Promise withError: not valid multihash
. I'm not exactly sure what I'm doing wrong.The text was updated successfully, but these errors were encountered: