-
Notifications
You must be signed in to change notification settings - Fork 299
Conversation
License: MIT Signed-off-by: Alan Shaw <alan@tableflip.io>
75672e5
to
0044fa0
Compare
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
Please note that the code has a temporary workaround for ipfs/go-cid#75 |
} | ||
|
||
const callback = once(_callback) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember but I wonder if this was a protection to go-ipfs sometimes sending multiple errors ?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noted, I guess we'll find out soon ;)
// Retry with "protobuf" format for go-ipfs | ||
// TODO: remove when https://github.com/ipfs/go-cid/issues/75 resolved | ||
if (qs.format === 'dag-pb') { | ||
qs.format = 'protobuf' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the key change for me that would have allowed me to complete #815. Still learned a lot from trying to work that story. Time to find a new issue to dig into. :)
Alternative to #793
Should fix this according to the spec.
fixes #815
closes #793
tested by ipfs-inactive/interface-js-ipfs-core#370(released)