diff options
| author | Alexis Enston <xn@outlook.com> | 2017-01-16 12:18:43 +0000 |
|---|---|---|
| committer | Alexis Enston <xn@outlook.com> | 2017-01-25 11:59:25 +0000 |
| commit | 5f7a8741b972b6176584a1718d7330dd844a120e (patch) | |
| tree | ca91c072e148f1166f535042e255afc0358d4ef9 /src | |
| parent | 4ecab0d80c6d2ddb909c0d6bd32e3e680b562705 (diff) | |
| download | monzero-core-5f7a8741b972b6176584a1718d7330dd844a120e.tar.gz monzero-core-5f7a8741b972b6176584a1718d7330dd844a120e.tar.xz monzero-core-5f7a8741b972b6176584a1718d7330dd844a120e.zip | |
Blockfill - Take TX fees into account properly
Diffstat (limited to 'src')
| -rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index c79d9bcf7..77b3e70d2 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -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)); |
