You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error on the line data, err := bs.GetBlock(ctx, c):
cannot use c (type *"gx/ipfs/QmapdYm1b22Frv3k17fqrBYTFRxwiaVJkB299Mfn33edeB/go-cid".Cid) as type *"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid".Cid in argument to bs.GetBlock
My go-cid hash is at the latest, and so is my go-ipfs hash. However, I can see that release v0.4.15 of go-ipfs is using a different hash of go-cid (QmcZfnkap...). The same hash as the one given in the err.
What's the recommended gx-go way of dealing with this problem? Thanks!
The text was updated successfully, but these errors were encountered:
@adam-hanna Sorry for the delay we're currently working on it in #46, in the meanwhile there's no standard fix, we normally temporarily changed the dependency of the linked package being developed to match the dependency in go-ipfs and then revert that change when committing (although that's far from an optimal solution).
I have a problem where one of my gx dependencies relies on an older gx dependency.
Here's the code in question:
I'm getting the following error on the line
data, err := bs.GetBlock(ctx, c)
:My go-cid hash is at the latest, and so is my go-ipfs hash. However, I can see that release v0.4.15 of go-ipfs is using a different hash of go-cid (QmcZfnkap...). The same hash as the one given in the err.
What's the recommended gx-go way of dealing with this problem? Thanks!
The text was updated successfully, but these errors were encountered: