Skip to content

Commit

Permalink
for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Aug 14, 2023
1 parent 37238da commit ba8932a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ledger/ibc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ where
.borrow()
.get_ibc_event("denomination_trace")
.map_err(|_| {
Error::Denom(format!("Reading the IBC event failed",))
Error::Denom("Reading the IBC event failed".to_string())
})?;
if let Some(event) = result {
if let (Some(trace_hash), Some(ibc_denom)) = (
Expand Down

0 comments on commit ba8932a

Please sign in to comment.