1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

Blockfill - Take TX fees into account properly

This commit is contained in:
Alexis Enston 2017-01-16 12:18:43 +00:00
parent 4ecab0d80c
commit 5f7a8741b9

View file

@ -645,7 +645,7 @@ namespace cryptonote
sorted_it++;
continue;
}
uint64_t coinbase = block_reward + fee;
uint64_t coinbase = block_reward + fee + tx_it->second.fee;
if (coinbase < template_accept_threshold(best_coinbase))
{
LOG_PRINT_L2(" would decrease coinbase to " << print_money(coinbase));