mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 16:43:24 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
db9eda4d2e
commit
79c8abf3b6
@ -515,7 +515,11 @@ async fn handle_eth_action(
|
||||
EthAction::Request { .. } => "request",
|
||||
},
|
||||
km.source,
|
||||
state.active_subscriptions.iter().map(|v| v.len()).collect::<Vec<_>>(),
|
||||
state
|
||||
.active_subscriptions
|
||||
.iter()
|
||||
.map(|v| v.len())
|
||||
.collect::<Vec<_>>(),
|
||||
),
|
||||
)
|
||||
.await;
|
||||
|
@ -444,7 +444,10 @@ fn unsubscribe(rx: RawSubscription, chain_id: &u64, providers: &Providers) {
|
||||
continue;
|
||||
};
|
||||
let x = pubsub.unsubscribe(alloy_sub_id);
|
||||
println!("we just tried unsubscribing {:?} unsubscribed: {:?}\r", alloy_sub_id, x);
|
||||
println!(
|
||||
"we just tried unsubscribing {:?} unsubscribed: {:?}\r",
|
||||
alloy_sub_id, x
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user