Switch RPCs to stable futures (#3287)

This commit is contained in:
Pierre Krieger
2019-08-02 19:52:55 +02:00
committed by Gavin Wood
parent aa86185648
commit c792dd358d
5 changed files with 18 additions and 12 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ use sr_primitives::{
use crate::config::Configuration;
use primitives::{Blake2Hasher, H256, Pair};
use rpc::{self, apis::system::SystemInfo};
use futures::{prelude::*, future::Executor, sync::mpsc};
use futures::{prelude::*, future::Executor};
use futures03::channel::mpsc;
// Type aliases.
// These exist mainly to avoid typing `<F as Factory>::Foo` all over the code.