fix: block finalization
@@ -147,7 +147,7 @@ pub fn new_partial(
/// Builds a new service for a full client.
pub fn new_full(
- config: Configuration,
+ mut config: Configuration,
) -> Result<
(
TaskManager,
@@ -175,11 +175,7 @@ pub fn new_full(
let shared_voter_state = rpc_setup;
- /*config
- .network
- .notifications_protocols
- .push(sc_finality_grandpa::GRANDPA_PROTOCOL_NAME.into());
-*/
+ config.network.extra_sets.push(sc_finality_grandpa::grandpa_peers_set_config());
let (network, network_status_sinks, system_rpc_tx, network_starter) =
sc_service::build_network(sc_service::BuildNetworkParams {
