mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
fix for missing block under certain startup conditions (#3555)
This commit is contained in:
parent
61982efdd9
commit
a3aed4aae5
1 changed files with 1 additions and 2 deletions
|
@ -236,8 +236,7 @@ impl Chain {
|
|||
// In reality we will do this based on PIBD segment requests.
|
||||
// Initialization (once per 12 hour period) will not be this slow once lmdb and PMMRs
|
||||
// are warmed up.
|
||||
{
|
||||
let segmenter = chain.segmenter()?;
|
||||
if let Ok(segmenter) = chain.segmenter() {
|
||||
let _ = segmenter.kernel_segment(SegmentIdentifier { height: 9, idx: 0 });
|
||||
let _ = segmenter.bitmap_segment(SegmentIdentifier { height: 9, idx: 0 });
|
||||
let _ = segmenter.output_segment(SegmentIdentifier { height: 11, idx: 0 });
|
||||
|
|
Loading…
Reference in a new issue