mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
New service initial commit (#1234)
* New service initial commit * More separation of the new and old services * Fix review comments * Adds polkadot.json * Fix browser build * Remove unused import * Update node/service/src/lib.rs Co-authored-by: Fedor Sakharov <fedor.sakharov@gmail.com> * Remove duplicate json files Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
|
||||
use std::fmt::Debug;
|
||||
use std::pin::Pin;
|
||||
use std::sync::Arc;
|
||||
use std::task::Poll;
|
||||
use std::time::Duration;
|
||||
use std::collections::HashSet;
|
||||
@@ -232,7 +233,7 @@ impl OverseerHandler {
|
||||
/// [`Overseer`]: struct.Overseer.html
|
||||
/// [`OverseerHandler`]: struct.OverseerHandler.html
|
||||
pub async fn forward_events<P: BlockchainEvents<Block>>(
|
||||
client: P,
|
||||
client: Arc<P>,
|
||||
mut handler: OverseerHandler,
|
||||
) -> SubsystemResult<()> {
|
||||
let mut finality = client.finality_notification_stream();
|
||||
|
||||
Reference in New Issue
Block a user