mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
ui: Improve rpc page usability for Decred.
This commit is contained in:
@@ -564,7 +564,7 @@ class DCRInterface(Secp256k1Interface):
|
||||
def withdrawCoin(self, value: float, addr_to: str, subfee: bool = False) -> str:
|
||||
if subfee:
|
||||
raise ValueError('TODO')
|
||||
params = [addr_to, value]
|
||||
params = [addr_to, float(value)]
|
||||
return self.rpc_wallet('sendtoaddress', params)
|
||||
|
||||
def isAddressMine(self, address: str, or_watch_only: bool = False) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user