Skip to content

Commit

Permalink
wallet2: automatically adjust fee during backlog
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Mar 7, 2024
1 parent 7b7958b commit eae81cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/wallet2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit eae81cf

Please sign in to comment.