Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Companion PR for Substrate #5375
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Apr 27, 2020
1 parent 402e9a0 commit ec9975a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use polkadot_primitives::{parachain, Hash, BlockId, AccountId, Nonce, Balance};
#[cfg(feature = "full-node")]
use polkadot_network::{legacy::gossip::Known, protocol as network_protocol};
use service::{error::Error as ServiceError, ServiceBuilder};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider, SharedVoterState};
use inherents::InherentDataProviders;
use sc_executor::native_executor_instance;
use log::info;
Expand Down Expand Up @@ -604,6 +604,7 @@ pub fn new_full<Runtime, Dispatch, Extrinsic>(
telemetry_on_connect: Some(service.telemetry_on_connect_stream()),
voting_rule,
prometheus_registry: service.prometheus_registry(),
shared_voter_state: SharedVoterState::new(None),
};

service.spawn_essential_task(
Expand Down

0 comments on commit ec9975a

Please sign in to comment.