parent
a09b044aa2
commit
4ba80ad785
|
@ -537,7 +537,7 @@ impl ServeRepair {
|
|||
stats.err_unsigned += 1;
|
||||
}
|
||||
_ => {
|
||||
debug_assert!(false, "unhandled error {:?}", error);
|
||||
debug_assert!(false, "unhandled error {error:?}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -838,8 +838,7 @@ impl ServeRepair {
|
|||
None => {
|
||||
debug_assert!(
|
||||
false,
|
||||
"request should have failed deserialization: {:?}",
|
||||
request
|
||||
"request should have failed deserialization: {request:?}",
|
||||
);
|
||||
return Err(Error::from(RepairVerifyError::Malformed));
|
||||
}
|
||||
|
@ -849,8 +848,7 @@ impl ServeRepair {
|
|||
None => {
|
||||
debug_assert!(
|
||||
false,
|
||||
"request should have failed deserialization: {:?}",
|
||||
request
|
||||
"request should have failed deserialization: {request:?}",
|
||||
);
|
||||
return Err(Error::from(RepairVerifyError::Malformed));
|
||||
}
|
||||
|
|
|
@ -904,9 +904,8 @@ fn open_blockstore(
|
|||
let shred_storage_type = get_shred_storage_type(
|
||||
ledger_path,
|
||||
&format!(
|
||||
"Shred stroage type cannot be inferred for ledger at {:?}, \
|
||||
"Shred stroage type cannot be inferred for ledger at {ledger_path:?}, \
|
||||
using default RocksLevel",
|
||||
ledger_path
|
||||
),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue