Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1443 from vhpoet/orderbook
Browse files Browse the repository at this point in the history
[FIX] Orderbook fixes
  • Loading branch information
Anna Tong committed Aug 22, 2014
2 parents caaaf1a + 9b04b54 commit 61aefc7
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
76 changes: 38 additions & 38 deletions deps/js/ripple.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/services/books.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ function(net, $q, $scope, $filter, $id) {
if (d.TakerGets.value) {
d.TakerGets.value = d.taker_gets_funded;
} else {
d.TakerGets = parseInt(d.taker_gets_funded, 10);
d.TakerGets = parseInt(Number(d.taker_gets_funded), 10);
}

if (d.TakerPays.value) {
d.TakerPays.value = d.taker_pays_funded;
} else {
d.TakerPays = parseInt(d.taker_pays_funded, 10);
d.TakerPays = parseInt(Number(d.taker_pays_funded), 10);
}

d.TakerGets = Amount.from_json(d.TakerGets);
Expand Down

0 comments on commit 61aefc7

Please sign in to comment.