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
parentMerge pull request #1938 (diff)
parentResolve #92 add ability to create wallets thru RPC (diff)
downloadmonero-f65d739c414b691c3e5aed6b3980d8645f954c52.tar.xz
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)
{