Apply suggestions from code review

Add suggested changes to comments

Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
This commit is contained in:
Matthias
2020-02-26 07:00:08 +01:00
committed by GitHub
parent 31ac4598ba
commit 1021ffa1c3
2 changed files with 2 additions and 2 deletions

View File

@@ -460,7 +460,7 @@ class RPC:
if self._freqtrade.state != State.RUNNING:
raise RPCException('trader is not running')
# Check pair is in stake currency
# Check if pair quote currency equals to the stake currency.
stake_currency = self._freqtrade.config.get('stake_currency')
if not self._freqtrade.exchange.get_pair_quote_currency(pair) == stake_currency:
raise RPCException(