mirror of
https://github.com/monero-project/monero.git
synced 2026-01-07 02:04:02 -08:00
api/wallet: properly disable key encryption
This commit is contained in:
@@ -61,7 +61,7 @@ static void make_wallet(unsigned int idx, tools::wallet2 &wallet)
|
||||
|
||||
try
|
||||
{
|
||||
wallet.init(false, "");
|
||||
wallet.init("");
|
||||
wallet.set_subaddress_lookahead(1, 1);
|
||||
wallet.generate("", "", spendkey, true, false);
|
||||
ASSERT_TRUE(test_addresses[idx].address == wallet.get_account().get_public_address_str(cryptonote::TESTNET));
|
||||
|
||||
Reference in New Issue
Block a user