Sets full_verifier_utxo_lookahead to Height::MIN instead of panicking
This commit is contained in:
parent
37f9b76d1b
commit
2e954955cf
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue