diff --git a/crates/rpc/rpc/src/eth/api/server.rs b/crates/rpc/rpc/src/eth/api/server.rs index d62efabc8745..279ba1744a2a 100644 --- a/crates/rpc/rpc/src/eth/api/server.rs +++ b/crates/rpc/rpc/src/eth/api/server.rs @@ -357,12 +357,12 @@ where } /// Handler for: `eth_sendTransaction` - async fn send_transaction(&self, request: TransactionRequest) -> Result { + async fn send_transaction(&self, _request: TransactionRequest) -> Result { Err(internal_rpc_err("read-only node")) } /// Handler for: `eth_sendRawTransaction` - async fn send_raw_transaction(&self, tx: Bytes) -> Result { + async fn send_raw_transaction(&self, _tx: Bytes) -> Result { Err(internal_rpc_err("read-only node")) }