diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-02-20 17:53:38 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-02-20 17:53:38 +0200 |
commit | 2ac3da12516f7542ceb21d4973f990eca1523d92 (patch) | |
tree | 41d6f7e4d12210a33f6088ff6a1e9debb34e7a4c /src | |
parent | Merge pull request #3295 (diff) | |
parent | wallet2: fix auto_low_priority field name typo on load (diff) | |
download | monero-2ac3da12516f7542ceb21d4973f990eca1523d92.tar.xz |
Merge pull request #3256
df5273de wallet2: fix auto_low_priority field name typo on load (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 87577d2fd..3bad743cf 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2640,8 +2640,8 @@ bool wallet2::load_keys(const std::string& keys_file_name, const epee::wipeable_ m_confirm_backlog_threshold = field_confirm_backlog_threshold; GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, confirm_export_overwrite, int, Int, false, true); m_confirm_export_overwrite = field_confirm_export_overwrite; - GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, m_auto_low_priority, int, Int, false, true); - m_auto_low_priority = field_m_auto_low_priority; + GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, auto_low_priority, int, Int, false, true); + m_auto_low_priority = field_auto_low_priority; GET_FIELD_FROM_JSON_RETURN_ON_ERROR(json, testnet, int, Int, false, m_testnet); // Wallet is being opened with testnet flag, but is saved as a mainnet wallet THROW_WALLET_EXCEPTION_IF(m_testnet && !field_testnet, error::wallet_internal_error, "Mainnet wallet can not be opened as testnet wallet"); |