mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 05:45:07 -04:00
wallet2: adjust fee during backlog, fix set priority
This commit is contained in:
parent
4b255808d0
commit
e6f4875219
2 changed files with 3 additions and 3 deletions
|
@ -8118,7 +8118,7 @@ uint32_t wallet2::adjust_priority(uint32_t priority)
|
|||
else if (blocks[0].first > 0)
|
||||
{
|
||||
MINFO("We don't use the low priority because there's a backlog in the tx pool.");
|
||||
return priority;
|
||||
return 2;
|
||||
}
|
||||
|
||||
// get the current full reward zone
|
||||
|
@ -8163,7 +8163,7 @@ uint32_t wallet2::adjust_priority(uint32_t priority)
|
|||
if (P > 80)
|
||||
{
|
||||
MINFO("We don't use the low priority because recent blocks are quite full.");
|
||||
return priority;
|
||||
return 2;
|
||||
}
|
||||
MINFO("We'll use the low priority because probably it's safe to do so.");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue