Fix XMR not returning new subaddress.

2024-05-20_merge
tecnovert 1 year ago
parent 4d8d421de6
commit ebcd7738e5
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 4
      basicswap/interface/xmr.py

@ -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…
Cancel
Save