Fix clippy

This commit is contained in:
Emilia Hane
2023-01-26 22:28:49 +01:00
parent 4d3ff347a3
commit 481718856c
2 changed files with 4 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ fn get_zero_hash(height: usize) -> &'static [u8] {
if height <= ZERO_HASHES_MAX_INDEX {
&ZERO_HASHES[height]
} else {
panic!("Tree exceeds MAX_TREE_DEPTH of {}", ZERO_HASHES_MAX_INDEX)
panic!("Tree exceeds MAX_TREE_DEPTH of {ZERO_HASHES_MAX_INDEX}")
}
}