Resolve #52: I think it's real this time.
This commit is contained in:
parent
d47c2ee2a2
commit
8bcd1f3bf5
1 changed files with 1 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ 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 = fc::digest(genesis_state);
|
p.chain_id = fc::digest(genesis_state);
|
||||||
|
p.parameters = genesis_state.initial_parameters;
|
||||||
});
|
});
|
||||||
create<dynamic_global_property_object>( [&](dynamic_global_property_object& p) {
|
create<dynamic_global_property_object>( [&](dynamic_global_property_object& p) {
|
||||||
p.time = fc::time_point_sec(GRAPHENE_GENESIS_TIMESTAMP);
|
p.time = fc::time_point_sec(GRAPHENE_GENESIS_TIMESTAMP);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue