fixes after rebase persist_lnwatcher
This commit is contained in:
@@ -125,6 +125,6 @@ class QEAddressDetails(QObject):
|
||||
self._pubkeys = self._wallet.wallet.get_public_keys(self._address)
|
||||
self._derivationPath = self._wallet.wallet.get_address_path_str(self._address)
|
||||
self._derivationPath = self._derivationPath.replace('m', self._wallet.derivationPrefix)
|
||||
self._numtx = self._wallet.wallet.get_address_history_len(self._address)
|
||||
self._numtx = self._wallet.wallet.adb.get_address_history_len(self._address)
|
||||
assert(self._numtx == self.historyModel.rowCount(0))
|
||||
self.detailsChanged.emit()
|
||||
|
||||
@@ -47,7 +47,7 @@ class QEAddressListModel(QAbstractListModel):
|
||||
def addr_to_model(self, address):
|
||||
item = {}
|
||||
item['address'] = address
|
||||
item['numtx'] = self.wallet.get_address_history_len(address)
|
||||
item['numtx'] = self.wallet.adb.get_address_history_len(address)
|
||||
item['label'] = self.wallet.get_label(address)
|
||||
c, u, x = self.wallet.get_addr_balance(address)
|
||||
item['balance'] = QEAmount(amount_sat=c + u + x)
|
||||
|
||||
Reference in New Issue
Block a user