| 564 | return MakeWallet(m_context, CreateWallet(m_context, name, true /* load_on_start */, options, status, error, warnings)); |
| 565 | } |
| 566 | std::unique_ptr<Wallet> loadWallet(const std::string& name, bilingual_str& error, std::vector<bilingual_str>& warnings) override |
| 567 | { |
| 568 | DatabaseOptions options; |
| 569 | DatabaseStatus status; |
| 570 | options.require_existing = true; |
| 571 | return MakeWallet(m_context, LoadWallet(m_context, name, true /* load_on_start */, options, status, error, warnings)); |
| 572 | } |
| 573 | std::unique_ptr<Wallet> restoreWallet(const fs::path& backup_file, const std::string& wallet_name, bilingual_str& error, std::vector<bilingual_str>& warnings) override |
| 574 | { |
| 575 | DatabaseStatus status; |
no test coverage detected