Skip to content

Commit

Permalink
Remove unused channel from parachain service (paritytech#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff authored Nov 11, 2020
1 parent 65fe57b commit 1e87a47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions node/parachain/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ pub fn run_node(
let subscription_task_executor =
sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle());

// Channel for the rpc handler to communicate with the authorship task.
let (command_sink, _commands_stream) = futures::channel::mpsc::channel(1000);

let rpc_extensions_builder = {
let client = client.clone();
let pool = transaction_pool.clone();
Expand All @@ -205,7 +202,7 @@ pub fn run_node(
deny_unsafe,
is_authority,
network: network.clone(),
command_sink: Some(command_sink.clone())
command_sink: None,
};

moonbeam_rpc::create_full(
Expand Down

0 comments on commit 1e87a47

Please sign in to comment.