| 539 | */ |
| 540 | |
| 541 | const CWalletTx* CWallet::GetWalletTx(const Txid& hash) const |
| 542 | { |
| 543 | AssertLockHeld(cs_wallet); |
| 544 | const auto it = mapWallet.find(hash); |
| 545 | if (it == mapWallet.end()) |
| 546 | return nullptr; |
| 547 | return &(it->second); |
| 548 | } |
| 549 | |
| 550 | void CWallet::UpgradeDescriptorCache() |
| 551 | { |
no test coverage detected