diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:31:35 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-18 17:31:35 +0200 |
commit | b174527f1d7c9f352da3c849d62cc12ec1e0b92d (patch) | |
tree | 289160042cf83563bf572cfbfc3ac55bbf507dbc /src/gen_multisig/gen_multisig.cpp | |
parent | Merge pull request #4299 (diff) | |
parent | api/wallet: properly disable key encryption (diff) | |
download | monero-b174527f1d7c9f352da3c849d62cc12ec1e0b92d.tar.xz |
Merge pull request #4302
ba8dd347 api/wallet: properly disable key encryption (stoffu)
Diffstat (limited to 'src/gen_multisig/gen_multisig.cpp')
-rw-r--r-- | src/gen_multisig/gen_multisig.cpp | 4 |
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); } |