forked from lthn/blockchain
replaced vector<bool> top list<bool>, because c++ is insane about some stuff
This commit is contained in:
parent
ab226469a9
commit
fb73401800
2 changed files with 2 additions and 3 deletions
|
|
@ -118,10 +118,9 @@ namespace currency
|
|||
res.minimum_fee = m_core.get_blockchain_storage().get_core_runtime_config().tx_pool_min_fee;
|
||||
|
||||
auto & hf = m_core.get_blockchain_storage().get_core_runtime_config().hard_forks.m_height_the_hardfork_n_active_after;
|
||||
res.is_hardfok_active.resize(hf.size());
|
||||
for (size_t i = 0; i != hf.size(); i++)
|
||||
{
|
||||
res.is_hardfok_active[i] = m_core.get_blockchain_storage().is_hardfork_active(i);
|
||||
res.is_hardfok_active.push_back(m_core.get_blockchain_storage().is_hardfork_active(i));
|
||||
}
|
||||
|
||||
//conditional values
|
||||
|
|
|
|||
|
|
@ -793,7 +793,7 @@ namespace currency
|
|||
uint64_t minimum_fee;
|
||||
uint64_t last_block_timestamp;
|
||||
std::string last_block_hash;
|
||||
std::vector<bool> is_hardfok_active;
|
||||
std::list<bool> is_hardfok_active;
|
||||
//market
|
||||
uint64_t offers_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue