Skip to content

Commit

Permalink
rename arg
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jul 1, 2024
1 parent f5e4f2d commit 51d72df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/astria-sequencer/src/bridge/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ use crate::{
fn error_query_response(
err: Option<anyhow::Error>,
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(),
Expand Down

0 comments on commit 51d72df

Please sign in to comment.