aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorm2049r <m2049r@monerujo.io>2018-10-12 20:58:27 +0200
committerm2049r <m2049r@monerujo.io>2018-10-13 09:25:49 +0200
commitd886b97fe216846647aea2560d423c138e0d67d4 (patch)
tree7c68306540b1707f4954b4cb7945e0a38a6e0b21 /src/wallet
parentMerge pull request #4543 (diff)
downloadmonero-d886b97fe216846647aea2560d423c138e0d67d4.tar.xz
SOFTWARE is the default wallet device
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index f87edf506..d774c54c0 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -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())
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.
if (json.Parse(account_data.c_str()).HasParseError())
{