aboutsummaryrefslogtreecommitdiff
path: root/src/gen_multisig/gen_multisig.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-08-25 14:22:26 +0900
committerstoffu <stoffu@protonmail.ch>2018-09-17 22:15:29 +0900
commitba8dd3479d56ff084fbc4b631548ff8cf05f60d1 (patch)
treeab6feb77026d7fdbb196104e6f95eed7c52b33c1 /src/gen_multisig/gen_multisig.cpp
parentMerge pull request #4381 (diff)
downloadmonero-ba8dd3479d56ff084fbc4b631548ff8cf05f60d1.tar.xz
api/wallet: properly disable key encryption
Diffstat (limited to '')
-rw-r--r--src/gen_multisig/gen_multisig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_multisig/gen_multisig.cpp b/src/gen_multisig/gen_multisig.cpp
index e680a8157..f11f442bc 100644
--- a/src/gen_multisig/gen_multisig.cpp
+++ b/src/gen_multisig/gen_multisig.cpp
@@ -91,8 +91,8 @@ static bool generate_multisig(uint32_t threshold, uint32_t total, const std::str
for (size_t n = 0; n < total; ++n)
{
std::string name = basename + "-" + std::to_string(n + 1);
- wallets[n].reset(new tools::wallet2(nettype));
- wallets[n]->init(false, "");
+ wallets[n].reset(new tools::wallet2(nettype, 1, false));
+ wallets[n]->init("");
wallets[n]->generate(name, pwd_container->password(), rct::rct2sk(rct::skGen()), false, false, create_address_file);
}