Skip to content

Commit 5883637

Browse files
committed
commands: fix convert_currency cmd
1 parent ce64dea commit 5883637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

electrum/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,8 +1965,8 @@ async def convert_currency(self, from_amount=1, from_ccy='', to_ccy=''):
19651965
configured exchange rate source.
19661966
19671967
arg:decimal:from_amount:Amount to convert (default=1)
1968-
arg:decimal:from_ccy:Currency to convert from
1969-
arg:decimal:to_ccy:Currency to convert to
1968+
arg:str:from_ccy:Currency to convert from
1969+
arg:str:to_ccy:Currency to convert to
19701970
"""
19711971
if not self.daemon.fx.is_enabled():
19721972
raise UserFacingException("FX is disabled. To enable, run: 'electrum setconfig use_exchange_rate true'")

0 commit comments

Comments
 (0)