Skip to content

Commit c88ec93

Browse files
committed
chore: address more clippy warnings
1 parent 4898009 commit c88ec93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/batcher/src/types/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl From<Bytes> for TransactionSendError {
5050

5151
pub enum BatcherError {
5252
TcpListenerError(String),
53-
ConnectionError(tungstenite::Error),
53+
ConnectionError(String),
5454
BatchVerifiedEventStreamError(String),
5555
EthereumSubscriptionError(String),
5656
SignatureError(SignatureError),
@@ -72,7 +72,7 @@ pub enum BatcherError {
7272

7373
impl From<tungstenite::Error> for BatcherError {
7474
fn from(e: tungstenite::Error) -> Self {
75-
BatcherError::ConnectionError(e)
75+
BatcherError::ConnectionError(e.to_string())
7676
}
7777
}
7878

0 commit comments

Comments
 (0)