We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 302c5fe commit fef3c63Copy full SHA for fef3c63
crates/chain/tests/utils.rs
@@ -116,8 +116,8 @@ pub async fn craft_data_poa_solution_from_tx(
116
let chunks_per_partition = node.node_ctx.config.consensus.num_chunks_in_partition;
117
118
// 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);
+ let chunk_ledger_offset =
+ tx_ledger_offset.unwrap_or_else(|| block.data_ledgers[DataLedger::Submit].total_chunks);
121
122
// Compute partition_chunk_offset from ledger_chunk_offset:
123
// ledger_chunk_offset = slot_start + partition_chunk_offset
0 commit comments