| 3519 | } |
| 3520 | |
| 3521 | bool CWallet::SetOfflineXPubKey(const CExtPubKey& offline_xpub_in) |
| 3522 | { |
| 3523 | LOCK(cs_wallet); |
| 3524 | if (!WalletBatch(GetDatabase()).WriteOfflineXPubKey(offline_xpub_in)) { |
| 3525 | return false; |
| 3526 | } |
| 3527 | offline_xpub = offline_xpub_in; |
| 3528 | return true; |
| 3529 | } |
| 3530 | |
| 3531 | bool CWallet::SetOfflineDescriptor(const std::string& offline_desc_in) |
| 3532 | { |
no test coverage detected