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
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This works fine as a quick fix but I'm not sure if:
Math.Round is the way you want to approach solving this
that's an issue that should be solved in go-ipfs or ipfs-http-client.
If it's something you would like to have fixed in ipfs-http-client I'd be happy to submit a PR, but I can't help you with the golang side of things. Any advice would be much appreciated!
Steps to reproduce the error:
Set up ipfs-http-client to work with the go-ipfs npm package and run:
for await (const stats of ipfs.stats.bw({ poll: true, interval: '1s' })) {
console.log(stats.rateIn);
}