We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4d365 commit 92689bfCopy full SHA for 92689bf
rust/immutable-ledger/src/serialize.rs
@@ -437,7 +437,7 @@ impl BlockHeader {
437
let prev_block_hash_type = match hash_function.as_u64() {
438
BLAKE3_CBOR_TAG => HashFunction::Blake3,
439
BLAKE_2B_CBOR_TAG => HashFunction::Blake2b,
440
- _ => bail!(format!("Invalid hash function type {:?}", hash_function)),
+ _ => bail!(format!("Invalid hash function type {hash_function:?}")),
441
};
442
443
let prev_block_hash = cbor_decoder
0 commit comments