Merge branch 'bug/506-zero-fees' into 'develop'
#506 - fix load fees from genesis file See merge request PBSA/peerplays!203
This commit is contained in:
commit
9c9aaa03d3
1 changed files with 5 additions and 0 deletions
|
|
@ -1168,6 +1168,11 @@ void database::init_genesis(const genesis_state_type& genesis_state)
|
||||||
});
|
});
|
||||||
assert( ssohive.id == son_schedule_id_type(get_son_schedule_id(sidechain_type::hive)) );
|
assert( ssohive.id == son_schedule_id_type(get_son_schedule_id(sidechain_type::hive)) );
|
||||||
|
|
||||||
|
// Enable fees
|
||||||
|
modify(get_global_properties(), [&genesis_state](global_property_object& p) {
|
||||||
|
p.parameters.current_fees = genesis_state.initial_parameters.current_fees;
|
||||||
|
});
|
||||||
|
|
||||||
// Create FBA counters
|
// Create FBA counters
|
||||||
create<fba_accumulator_object>([&]( fba_accumulator_object& acc )
|
create<fba_accumulator_object>([&]( fba_accumulator_object& acc )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue