mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-18 16:44:34 +00:00
Fix XMR not returning new subaddress.
This commit is contained in:
parent
4d8d421de6
commit
ebcd7738e5
1 changed files with 3 additions and 1 deletions
|
@ -214,7 +214,9 @@ class XMRInterface(CoinInterface):
|
|||
def getNewAddress(self, placeholder) -> str:
|
||||
with self._mx_wallet:
|
||||
self.openWallet(self._wallet_filename)
|
||||
return self.rpc_wallet_cb('create_address', {'account_index': 0})['address']
|
||||
new_address = self.rpc_wallet_cb('create_address', {'account_index': 0})['address']
|
||||
self.rpc_wallet_cb('store')
|
||||
return new_address
|
||||
|
||||
def get_fee_rate(self, conf_target: int = 2):
|
||||
self._log.warning('TODO - estimate fee rate?')
|
||||
|
|
Loading…
Reference in a new issue