| 3319 | } |
| 3320 | |
| 3321 | const CAddressBookData* CWallet::FindAddressBookEntry(const CTxDestination& dest, bool allow_change) const |
| 3322 | { |
| 3323 | const auto& address_book_it = m_address_book.find(dest); |
| 3324 | if (address_book_it == m_address_book.end()) return nullptr; |
| 3325 | if ((!allow_change) && address_book_it->second.IsChange()) { |
| 3326 | return nullptr; |
| 3327 | } |
| 3328 | return &address_book_it->second; |
| 3329 | } |
| 3330 | |
| 3331 | void CWallet::postInitProcess() |
| 3332 | { |
no test coverage detected