Fix check in should_insert_data_shred (#6649)
This commit is contained in:
parent
328a6a866e
commit
9d65e6f183
|
@ -763,9 +763,7 @@ impl Blocktree {
|
||||||
}
|
}
|
||||||
|
|
||||||
let last_root = *last_root.read().unwrap();
|
let last_root = *last_root.read().unwrap();
|
||||||
verify_shred_slots(slot, slot_meta.parent_slot, last_root);
|
verify_shred_slots(slot, slot_meta.parent_slot, last_root)
|
||||||
|
|
||||||
true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn insert_data_shred(
|
fn insert_data_shred(
|
||||||
|
|
Loading…
Reference in New Issue