mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
SOFTWARE is the default wallet device
This commit is contained in:
parent
77e1ebff26
commit
d886b97fe2
1 changed files with 1 additions and 0 deletions
|
@ -3611,6 +3611,7 @@ bool wallet2::query_device(hw::device::device_type& device_type, const std::stri
|
||||||
if (json.Parse(account_data.c_str()).HasParseError() || !json.IsObject())
|
if (json.Parse(account_data.c_str()).HasParseError() || !json.IsObject())
|
||||||
crypto::chacha8(keys_file_data.account_data.data(), keys_file_data.account_data.size(), key, keys_file_data.iv, &account_data[0]);
|
crypto::chacha8(keys_file_data.account_data.data(), keys_file_data.account_data.size(), key, keys_file_data.iv, &account_data[0]);
|
||||||
|
|
||||||
|
device_type = hw::device::device_type::SOFTWARE;
|
||||||
// The contents should be JSON if the wallet follows the new format.
|
// The contents should be JSON if the wallet follows the new format.
|
||||||
if (json.Parse(account_data.c_str()).HasParseError())
|
if (json.Parse(account_data.c_str()).HasParseError())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue