Sets full_verifier_utxo_lookahead to Height::MIN instead of panicking

This commit is contained in:
Arya 2024-04-29 19:07:37 -04:00
parent 37f9b76d1b
commit 2e954955cf
1 changed files with 1 additions and 2 deletions

View File

@ -395,8 +395,7 @@ impl StateService {
- HeightDiff::try_from(checkpoint_verify_concurrency_limit)
.expect("fits in HeightDiff");
let full_verifier_utxo_lookahead =
full_verifier_utxo_lookahead.expect("unexpected negative height");
full_verifier_utxo_lookahead.unwrap_or(block::Height::MIN);
let non_finalized_state_queued_blocks = QueuedBlocks::default();
let pending_utxos = PendingUtxos::default();