#506 - fix load fees from genesis file
This commit is contained in:
parent
fc1cdf2629
commit
936f13d2a1
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