message: Panic if started with no trusted hash after genesis era
diff: @@ -321,7 +321,26 @@ impl reactor::Reactor for Reactor {
  let init_hash = config.node.trusted_hash;
  match init_hash {
  - None => info!("No synchronization of the linear chain will be done."),
  + None => {
  + let genesis_timestamp = chainspec_loader
  + .chainspec()
  + .genesis
  + .highway_config
  + .genesis_era_start_timestamp;
  + let era_duration = chainspec_loader
  + .chainspec()
  + .genesis
  + .highway_config
  + .era_duration;
  + if Timestamp::now() > genesis_timestamp + era_duration {
  + error!(
  + "Node started with no trusted hash after the expected end of \
  + the genesis era! Please specify a trusted hash and restart."
  + );
  + panic!("should have trusted hash after genesis era")
  + }
  + info!("No synchronization of the linear chain will be done.")
  + }
  Some(hash) => info!("Synchronizing linear chain from: {:?}", hash),
  }
  