Skip to content

Commit

Permalink
[GB] make sure roundPrice is used
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Sep 19, 2018
1 parent 9ed920d commit 28c466d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/wrappers/kraken.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Trader.prototype.roundPrice = function(amount) {
};

Trader.prototype.addOrder = function(tradeType, amount, price, callback) {
price = this.roundAmount(price); // only round price, not amount
price = this.roundPrice(price); // only round price, not amount

const handle = (err, data) => {
if(err) {
Expand Down

0 comments on commit 28c466d

Please sign in to comment.