Skip to content

Commit

Permalink
[HOTFIX] CB-577 allow low satashi prices, should be fixed in https://…
Browse files Browse the repository at this point in the history
…github.com/ekg/fraction.js , update accordingly after pull request has been merged ekg/fraction.js#18
  • Loading branch information
crymost99 committed Aug 9, 2018
1 parent 1ca99ef commit 851ca77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/common/MarketClasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class Price {
if (real > 100000) {
real = limitByPrecision(real, 5);
}
let frac = new Fraction(real);
let frac = new Fraction(real * 100, 100);
let baseSats = base.toSats(),
quoteSats = quote.toSats();
let numRatio = baseSats / quoteSats,
Expand Down

0 comments on commit 851ca77

Please sign in to comment.