Add subfee option to wallets page.

This commit is contained in:
tecnovert
2019-07-21 21:39:44 +02:00
parent 521e465c2a
commit c9954bef1a
2 changed files with 6 additions and 5 deletions

View File

@@ -802,9 +802,9 @@ class BasicSwap():
ticker = 'rt' + ticker
return ticker
def withdrawCoin(self, coin_type, value, addr_to):
self.log.info('withdrawCoin %s %s to %s', value, self.getTicker(coin_type), addr_to)
return self.callcoinrpc(coin_type, 'sendtoaddress', [addr_to, value])
def withdrawCoin(self, coin_type, value, addr_to, subfee):
self.log.info('withdrawCoin %s %s to %s %s', value, self.getTicker(coin_type), addr_to, ' subfee' if subfee else '')
return self.callcoinrpc(coin_type, 'sendtoaddress', [addr_to, value, '', '', subfee])
def cacheNewAddressForCoin(self, coin_type):
self.log.debug('cacheNewAddressForCoin %s', coin_type)