Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix clippy warning of using a format string in a non-format context #930

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/chia-tools/src/bin/rollback-blockchain-db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main() {

let peak_height = select_block_by_hash
.query([peak_hash])
.expect("failed to query block {peak_hash}")
.expect("failed to query block")
.next()
.expect("missing peak block")
.expect("missing peak block")
Expand Down Expand Up @@ -73,7 +73,7 @@ fn main() {

let new_peak_hash = select_block_by_height
.query([rollback])
.expect("block missing at height {rollback}")
.expect("block missing at height")
.next()
.expect("missing block")
.expect("missing block")
Expand Down
Loading