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

@@ -5,22 +5,22 @@
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
import os
import threading
import logging
import threading
import subprocess
import basicswap.config as cfg
import basicswap.contrib.segwit_addr as segwit_addr
from .chainparams import (
chainparams,
Coins,
from .rpc import (
callrpc,
)
from .util import (
pubkeyToAddress,
)
from .rpc import (
callrpc,
from .chainparams import (
Coins,
chainparams,
)