Merge pull request #3398

c577abab wallet: fix auto low priority so that it takes effect only when saved default is 0 (stoffu)
This commit is contained in:
Riccardo Spagni 2018-03-14 16:18:14 +02:00
commit a69c713f8e
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -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
{