From c577abab61b5a9e4433726f6f24f4d075d0bee67 Mon Sep 17 00:00:00 2001 From: stoffu Date: Wed, 14 Mar 2018 18:33:43 +0900 Subject: wallet: fix auto low priority so that it takes effect only when saved default is 0 --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index d845dd896..4f0288e02 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -5106,7 +5106,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 { -- cgit v1.2.3