1
0
Fork 0
forked from lthn/blockchain

even more minor fixes

This commit is contained in:
sowle 2022-05-11 21:23:44 +02:00
parent b7f30382e1
commit f355c89fc4
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 3 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include "chaingen.h"
#include "pos_block_builder.h"
using namespace epee;
using namespace currency;
pos_block_builder::pos_block_builder()

View file

@ -105,7 +105,9 @@ struct naive_median
if (m_items.empty())
return;
if (fee_to_check != UINT64_MAX)
{
ASSERT_EQ(m_items.back().first, fee_to_check);
}
m_items.pop_back();
}