diff --git a/crates/astria-sequencer/src/bridge/query.rs b/crates/astria-sequencer/src/bridge/query.rs index 2f65817177..3acaad63cc 100644 --- a/crates/astria-sequencer/src/bridge/query.rs +++ b/crates/astria-sequencer/src/bridge/query.rs @@ -22,11 +22,11 @@ use crate::{ fn error_query_response( err: Option, code: AbciErrorCode, - info: &str, + msg: &str, ) -> response::Query { let log = match err { - Some(err) => format!("{info}: {err:?}"), - None => info.into(), + Some(err) => format!("{msg}: {err:?}"), + None => msg.into(), }; response::Query { code: code.into(),