Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jun 19, 2024
1 parent d9f45f5 commit 20f3a9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/soroban-cli/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub mod cost;
pub mod diagnostic_event;
pub mod footprint;
pub mod host_event;
#[allow(clippy::module_name_repetitions)]
pub mod log_event;

pub use auth::*;
Expand Down Expand Up @@ -46,7 +47,7 @@ fn is_log_event(event: &xdr::DiagnosticEvent) -> bool {
xdr::ContractEventBody::V0(xdr::ContractEventV0 { topics, .. }) if topics.len() == 1 => {
topics[0] == xdr::ScVal::Symbol(str_to_sc_string("log"))
}
_ => false,
xdr::ContractEventBody::V0(_) => false,
}
}

Expand Down

0 comments on commit 20f3a9f

Please sign in to comment.