api: Allow coin type to be specified by ticker.

This commit is contained in:
tecnovert
2021-01-28 15:50:26 +02:00
parent 9b4a256b44
commit 4ea4e0656a
4 changed files with 29 additions and 12 deletions

View File

@@ -52,8 +52,8 @@ class Test(XmrTestBase):
data = parse.urlencode({
'addr_from': '-1',
'coin_from': '1',
'coin_to': '6',
'coin_from': 'part',
'coin_to': 'xmr',
'amt_from': '1',
'amt_to': '1',
'lockhrs': '24'}).encode()