| 426 | } |
| 427 | |
| 428 | bool AddressTableModel::getAddressData(const QString &address, |
| 429 | std::string* name, |
| 430 | std::string* purpose) const { |
| 431 | CTxDestination destination = DecodeDestination(address.toStdString()); |
| 432 | return walletModel->wallet().getAddress(destination, name, /* is_mine= */ nullptr, purpose); |
| 433 | } |
| 434 | |
| 435 | int AddressTableModel::lookupAddress(const QString &address) const |
| 436 | { |
nothing calls this directly
no test coverage detected