mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
wallet: fix auto low priority so that it takes effect only when saved default is 0
This commit is contained in:
parent
e9f41e405f
commit
c577abab61
1 changed files with 1 additions and 1 deletions
|
@ -5106,7 +5106,7 @@ uint64_t wallet2::adjust_mixin(uint64_t mixin) const
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
uint32_t wallet2::adjust_priority(uint32_t priority)
|
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
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue