Skip to content

Commit

Permalink
Merge pull request #930 from Chia-Network/fix-format
Browse files Browse the repository at this point in the history
fix clippy warning of using a format string in a non-format context
  • Loading branch information
arvidn authored Feb 14, 2025
2 parents 00a2506 + 77fabb3 commit 0bbbf9a
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 0bbbf9a

Please sign in to comment.