fix one syntax error
This commit is contained in:
parent
5ce1b5bace
commit
2cf688cc68
@ -1340,20 +1340,20 @@ impl Web3ProxyApp {
|
||||
| "eth_supportedEntryPoints"
|
||||
| "web3_bundlerVersion") => match self.bundler_4337_rpcs.as_ref() {
|
||||
Some(bundler_4337_rpcs) => {
|
||||
let x = bundler_4337_rpcs
|
||||
.try_send_all_synced_connections::<Box<RawValue>>(
|
||||
method,
|
||||
params,
|
||||
Some(request_metadata),
|
||||
None,
|
||||
None,
|
||||
Some(Duration::from_secs(30)),
|
||||
Some(Level::DEBUG.into()),
|
||||
Some(1),
|
||||
)
|
||||
.await?;
|
||||
|
||||
x.into()
|
||||
// let x = bundler_4337_rpcs
|
||||
// .try_send_all_synced_connections::<Box<RawValue>>(
|
||||
// method,
|
||||
// params,
|
||||
// Some(request_metadata),
|
||||
// None,
|
||||
// None,
|
||||
// Some(Duration::from_secs(30)),
|
||||
// Some(Level::DEBUG.into()),
|
||||
// Some(1),
|
||||
// )
|
||||
// .await?;
|
||||
// x.into()
|
||||
todo!("wip");
|
||||
}
|
||||
None => {
|
||||
// TODO: stats even when we error!
|
||||
|
@ -32,7 +32,7 @@ use std::sync::Arc;
|
||||
use tokio::select;
|
||||
use tokio::sync::{mpsc, watch};
|
||||
use tokio::task::yield_now;
|
||||
use tokio::time::{sleep, sleep_until, timeout, Duration, Instant};
|
||||
use tokio::time::{sleep_until, timeout, Duration, Instant};
|
||||
use tracing::{debug, error, info, instrument, trace, warn};
|
||||
|
||||
/// A collection of web3 connections. Sends requests either the current best server or all servers.
|
||||
@ -366,6 +366,8 @@ impl Web3Rpcs {
|
||||
.name("noop")
|
||||
.spawn(async move {
|
||||
futures::future::pending::<()>().await;
|
||||
|
||||
Ok(())
|
||||
})?;
|
||||
|
||||
futures.push(flatten_handle(handle));
|
||||
|
Loading…
Reference in New Issue
Block a user