| 2628 | } |
| 2629 | |
| 2630 | bool CWallet::DisplayAddress(const CTxDestination& dest) |
| 2631 | { |
| 2632 | CScript scriptPubKey = GetScriptForDestination(dest); |
| 2633 | for (const auto& spk_man : GetScriptPubKeyMans(scriptPubKey)) { |
| 2634 | auto signer_spk_man = dynamic_cast<ExternalSignerScriptPubKeyMan *>(spk_man); |
| 2635 | if (signer_spk_man == nullptr) { |
| 2636 | continue; |
| 2637 | } |
| 2638 | ExternalSigner signer = ExternalSignerScriptPubKeyMan::GetExternalSigner(); |
| 2639 | return signer_spk_man->DisplayAddress(scriptPubKey, signer); |
| 2640 | } |
| 2641 | return false; |
| 2642 | } |
| 2643 | |
| 2644 | bool CWallet::LockCoin(const COutPoint& output, WalletBatch* batch) |
| 2645 | { |
no test coverage detected