Remove chain_id from global_property_object
This commit is contained in:
parent
73cc012db9
commit
29b7f343a6
2 changed files with 0 additions and 4 deletions
|
|
@ -307,7 +307,6 @@ void database::init_genesis(const genesis_state_type& genesis_state)
|
||||||
|
|
||||||
// Create global properties
|
// Create global properties
|
||||||
create<global_property_object>([&](global_property_object& p) {
|
create<global_property_object>([&](global_property_object& p) {
|
||||||
p.chain_id = chain_id;
|
|
||||||
p.parameters = genesis_state.initial_parameters;
|
p.parameters = genesis_state.initial_parameters;
|
||||||
// Set fees to zero initially, so that genesis initialization needs not pay them
|
// Set fees to zero initially, so that genesis initialization needs not pay them
|
||||||
// We'll fix it at the end of the function
|
// We'll fix it at the end of the function
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,6 @@ namespace graphene { namespace chain {
|
||||||
flat_set<witness_id_type> active_witnesses; // updated once per maintenance interval
|
flat_set<witness_id_type> active_witnesses; // updated once per maintenance interval
|
||||||
// n.b. witness scheduling is done by witness_schedule object
|
// n.b. witness scheduling is done by witness_schedule object
|
||||||
flat_set<account_id_type> witness_accounts; // updated once per maintenance interval
|
flat_set<account_id_type> witness_accounts; // updated once per maintenance interval
|
||||||
|
|
||||||
chain_id_type chain_id;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -124,5 +122,4 @@ FC_REFLECT_DERIVED( graphene::chain::global_property_object, (graphene::db::obje
|
||||||
(next_available_vote_id)
|
(next_available_vote_id)
|
||||||
(active_committee_members)
|
(active_committee_members)
|
||||||
(active_witnesses)
|
(active_witnesses)
|
||||||
(chain_id)
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue