Skip to content

Commit

Permalink
Small compatible fix for 32-bit compliler
Browse files Browse the repository at this point in the history
  • Loading branch information
sumoprojects committed Apr 8, 2019
1 parent 14ee5de commit a01d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3038,7 +3038,7 @@ uint64_t Blockchain::get_dynamic_base_fee_estimate(uint64_t grace_blocks) const
if (grace_blocks >= CRYPTONOTE_REWARD_BLOCKS_WINDOW)
grace_blocks = CRYPTONOTE_REWARD_BLOCKS_WINDOW - 1;

std::vector<size_t> sz;
std::vector<uint64_t> sz;
get_last_n_blocks_weights(sz, CRYPTONOTE_REWARD_BLOCKS_WINDOW - grace_blocks);
for (size_t i = 0; i < grace_blocks; ++i)
sz.push_back(CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE);
Expand Down

0 comments on commit a01d3ca

Please sign in to comment.