fix: cargo fmt

This commit is contained in:
Jude Nelson
2024-02-02 13:01:55 -05:00
parent dd3b2b8bf1
commit b21bbd1d96
2 changed files with 14 additions and 2 deletions

View File

@@ -154,7 +154,13 @@ impl RPCRequestHandler for RPCGetStackerDBChunkRequestHandler {
match chunk_res {
Ok(Some(chunk)) => {
debug!("Loaded {}-byte chunk for {} slot {} version {:?}", chunk.len(), &contract_identifier, slot_id, &slot_version);
debug!(
"Loaded {}-byte chunk for {} slot {} version {:?}",
chunk.len(),
&contract_identifier,
slot_id,
&slot_version
);
Ok(chunk)
}
Ok(None) | Err(NetError::NoSuchStackerDB(..)) => {

View File

@@ -253,7 +253,13 @@ impl RPCRequestHandler for RPCPostStackerDBChunkRequestHandler {
));
}
debug!("Wrote {}-byte chunk to {} slot {} version {}", &stackerdb_chunk.data.len(), &contract_identifier, stackerdb_chunk.slot_id, stackerdb_chunk.slot_version);
debug!(
"Wrote {}-byte chunk to {} slot {} version {}",
&stackerdb_chunk.data.len(),
&contract_identifier,
stackerdb_chunk.slot_id,
stackerdb_chunk.slot_version
);
// success!
let ack = StackerDBChunkAckData {