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

Commit

Permalink
fix(Quote): pass outCurrency to getQuote
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Sep 27, 2016
1 parent 033349d commit 3320356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coinify/trade.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ CoinifyTrade.prototype.btcExpected = function () {
self._lastBtcExpectedGuessAt = new Date();
return self._lastBtcExpectedGuess;
};
return Quote.getQuote(this._api, -this.inAmount, this.inCurrency).then(processQuote);
return Quote.getQuote(this._api, -this.inAmount, this.inCurrency, this.outCurrency).then(processQuote);
}
}
} else {
Expand Down

0 comments on commit 3320356

Please sign in to comment.