fix(stages): use correct block number in error message (#17751)

This commit is contained in:
Micke
2025-08-07 15:52:48 +02:00
committed by GitHub
parent 59e4a5556f
commit 9862481f18

View File

@@ -111,7 +111,7 @@ impl ExecInput {
// body.
let end_block_body = provider
.block_body_indices(end_block_number)?
.ok_or(ProviderError::BlockBodyIndicesNotFound(target_block))?;
.ok_or(ProviderError::BlockBodyIndicesNotFound(end_block_number))?;
(end_block_number, false, end_block_body.next_tx_num())
};