Skip to content

Commit

Permalink
Fix on the grandpa issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmychu0807 committed Dec 27, 2023
1 parent 67577ba commit 7acab9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions standalone/chain/node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ where
pending_create_inherent_data_providers,
};

let (rpc_extensions_builder, _rpc_setup) = {
let (rpc_extensions_builder, rpc_setup) = {
let grandpa_link= &grandpa_link;

let justification_stream = grandpa_link.justification_stream();
Expand Down Expand Up @@ -546,7 +546,7 @@ where
sync: sync_service,
voting_rule: grandpa::VotingRulesBuilder::default().build(),
prometheus_registry,
shared_voter_state: grandpa::SharedVoterState::empty(),
shared_voter_state: rpc_setup,
telemetry: telemetry.as_ref().map(|x| x.handle()),
offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool),
})?;
Expand Down

0 comments on commit 7acab9c

Please sign in to comment.