mirror of
https://github.com/monero-project/monero.git
synced 2025-10-11 14:58:29 -04:00
api/wallet: properly disable key encryption
This commit is contained in:
parent
bb30a72367
commit
ba8dd3479d
7 changed files with 15 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue