mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add src/wallet/* code to wallet:: namespace
This commit is contained in:
parent
90fc8b089d
commit
f7086fd8ff
94 changed files with 294 additions and 75 deletions
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
namespace wallet {
|
||||
std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, ArgsManager& args, const CKey& key)
|
||||
{
|
||||
auto wallet = std::make_unique<CWallet>(&chain, "", args, CreateMockWalletDatabase());
|
||||
|
|
@ -44,3 +45,4 @@ std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cc
|
|||
BOOST_CHECK(result.last_failed_block.IsNull());
|
||||
return wallet;
|
||||
}
|
||||
} // namespace wallet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue