Skip to content

Commit

Permalink
fix: no Debug on LoadError
Browse files Browse the repository at this point in the history
  • Loading branch information
luisschwab committed Mar 9, 2025
1 parent c9c2eb1 commit 8fcd263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wallet/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ impl fmt::Display for LoadError {
LoadError::MissingNetwork => write!(f, "loaded data is missing network type"),
LoadError::MissingGenesis => write!(f, "loaded data is missing genesis hash"),
LoadError::MissingDescriptor(k) => {
write!(f, "loaded data is missing descriptor for keychain {k:?}")
write!(f, "loaded data is missing descriptor for {k} keychain")
}
LoadError::Mismatch(mismatch) => write!(f, "data mismatch: {mismatch:?}"),
LoadError::Mismatch(mismatch) => write!(f, "data mismatch: {mismatch}"),
}
}
}
Expand Down

0 comments on commit 8fcd263

Please sign in to comment.