Closed jnr101 closed 6 years ago
Hello @jnr101 ,
This looks like a bug to me. I found the change that causes this discrepancy and fixed it in https://github.com/ripple/ripple-lib/pull/836. I would appreciate if you'd like to review/test the fix.
Thanks for catching this!
Hey intelliot,
I would like to, but I don't know how to build the ripple-lib. After "yarn install", what should I do next to get ripple-lib? edit. never mind, I found it (./dist/npm/api.js)
Intelliot,
I did some tests with my software and values are matching now with previous values (from 0.17.9), so looks like it has been fixed :-)
Great!
For future reference, you can build for Node.js with yarn compile
and the resulting JS files will be written in ./dist/npm/
. I'll add this info to the README as well.
Did you also update the master?
Not yet - I'll do that now.
Edit: The master
branch has been updated.
Hello,
I am testing v0.18.0, but I find a difference on some of the returned orderbooks. The script I am running:
Running under v0.17.9 returns:
Running under v0.18.0 returns:
The value for v0.17.9 is consistent with current values, v0.18.0 seems to be wrong. I am running node v9.2.0
n.b. Could this be autobridge values? Are they calculated correct? They don't seem to match with e.g. xrpcharts autobridge orders