| 3249 | } |
| 3250 | |
| 3251 | const CAddressBookData* CWallet::FindAddressBookEntry(const CTxDestination& dest, bool allow_change) const |
| 3252 | { |
| 3253 | const auto& address_book_it = m_address_book.find(dest); |
| 3254 | if (address_book_it == m_address_book.end()) return nullptr; |
| 3255 | if ((!allow_change) && address_book_it->second.IsChange()) { |
| 3256 | return nullptr; |
| 3257 | } |
| 3258 | return &address_book_it->second; |
| 3259 | } |
| 3260 | |
| 3261 | bool CWallet::UpgradeWallet(int version, bilingual_str& error) |
| 3262 | { |
no test coverage detected