diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-14 16:18:14 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-14 16:18:15 +0200 |
commit | a69c713f8e7717bc29c8a02d9d32a580f880562f (patch) | |
tree | b711ce6d0e88ca9ed21eefa1e4d196a9f25c5810 /src/wallet | |
parent | Merge pull request #3399 (diff) | |
parent | wallet: fix auto low priority so that it takes effect only when saved default... (diff) | |
download | monero-a69c713f8e7717bc29c8a02d9d32a580f880562f.tar.xz |
Merge pull request #3398
c577abab wallet: fix auto low priority so that it takes effect only when saved default is 0 (stoffu)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index fcc7a73d0..04d8c799a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5141,7 +5141,7 @@ uint64_t wallet2::adjust_mixin(uint64_t mixin) const //---------------------------------------------------------------------------------------------------- uint32_t wallet2::adjust_priority(uint32_t priority) { - if (priority == 0 && get_default_priority() != 1 && auto_low_priority()) + if (priority == 0 && m_default_priority == 0 && auto_low_priority()) { try { |