mirror of
https://github.com/monero-project/monero.git
synced 2025-12-11 17:41:28 +09:00
Blockfill - Take TX fees into account properly
This commit is contained in:
parent
4ecab0d80c
commit
5f7a8741b9
@ -645,7 +645,7 @@ namespace cryptonote
|
|||||||
sorted_it++;
|
sorted_it++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
uint64_t coinbase = block_reward + fee;
|
uint64_t coinbase = block_reward + fee + tx_it->second.fee;
|
||||||
if (coinbase < template_accept_threshold(best_coinbase))
|
if (coinbase < template_accept_threshold(best_coinbase))
|
||||||
{
|
{
|
||||||
LOG_PRINT_L2(" would decrease coinbase to " << print_money(coinbase));
|
LOG_PRINT_L2(" would decrease coinbase to " << print_money(coinbase));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user