aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-04-24 10:42:10 +0200
committerRiccardo Spagni <ric@spagni.net>2017-04-24 10:42:10 +0200
commitf65d739c414b691c3e5aed6b3980d8645f954c52 (patch)
tree6d8dd5ca03feaca47932db95385beb8a77a00a7e /src/wallet/wallet2.cpp
parentacbe0b4849409b82d94a063dec8962e74f703b4e (diff)
parent110b683152e4930247c88d426799d53943f19e72 (diff)
downloadmonzero-core-f65d739c414b691c3e5aed6b3980d8645f954c52.tar.gz
monzero-core-f65d739c414b691c3e5aed6b3980d8645f954c52.tar.xz
monzero-core-f65d739c414b691c3e5aed6b3980d8645f954c52.zip
Merge pull request #1954
110b6831 Resolve #92 add ability to create wallets thru RPC (Howard Chu)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 941ee8afb..0e62d8c11 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -498,6 +498,12 @@ std::pair<std::unique_ptr<wallet2>, password_container> wallet2::make_new(const
return {make_basic(vm, opts), std::move(*pwd)};
}
+std::unique_ptr<wallet2> wallet2::make_dummy(const boost::program_options::variables_map& vm)
+{
+ const options opts{};
+ return make_basic(vm, opts);
+}
+
//----------------------------------------------------------------------------------------------------
bool wallet2::init(std::string daemon_address, boost::optional<epee::net_utils::http::login> daemon_login, uint64_t upper_transaction_size_limit)
{