Skip to content

Commit fef3c63

Browse files
committed
cre: fmt
1 parent 302c5fe commit fef3c63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chain/tests/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ pub async fn craft_data_poa_solution_from_tx(
116116
let chunks_per_partition = node.node_ctx.config.consensus.num_chunks_in_partition;
117117

118118
// Determine the ledger offset for the tx's first chunk:
119-
let chunk_ledger_offset = tx_ledger_offset
120-
.unwrap_or_else(|| block.data_ledgers[DataLedger::Submit].total_chunks);
119+
let chunk_ledger_offset =
120+
tx_ledger_offset.unwrap_or_else(|| block.data_ledgers[DataLedger::Submit].total_chunks);
121121

122122
// Compute partition_chunk_offset from ledger_chunk_offset:
123123
// ledger_chunk_offset = slot_start + partition_chunk_offset

0 commit comments

Comments
 (0)