mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 07:41:08 +00:00
Transition the transaction-pool to new futures (#3394)
* Transition the transaction-pool to new futures * Fix tests * Fix tests again?!
This commit is contained in:
committed by
Gavin Wood
parent
9d6118279e
commit
11da397db8
@@ -298,6 +298,7 @@ impl<Components: components::Components> Service<Components> {
|
||||
let network = Arc::downgrade(&network);
|
||||
let transaction_pool_ = transaction_pool.clone();
|
||||
let events = transaction_pool.import_notification_stream()
|
||||
.map(|v| Ok::<_, ()>(v)).compat()
|
||||
.for_each(move |_| {
|
||||
if let Some(network) = network.upgrade() {
|
||||
network.trigger_repropagate();
|
||||
|
||||
Reference in New Issue
Block a user