one less clone
This commit is contained in:
parent
1857b11fb9
commit
79f033e829
@ -365,7 +365,7 @@ impl Web3Connection {
|
||||
reconnect: bool,
|
||||
) -> anyhow::Result<()> {
|
||||
loop {
|
||||
let http_interval_receiver = http_interval_sender.clone().map(|x| x.subscribe());
|
||||
let http_interval_receiver = http_interval_sender.as_ref().map(|x| x.subscribe());
|
||||
|
||||
let mut futures = vec![];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user