mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-14 02:13:09 +00:00
minor refactor
This commit is contained in:
parent
deca3ffe69
commit
d6df9a7796
@ -232,7 +232,7 @@ impl SequencerCore {
|
||||
&self.sequencer_config
|
||||
}
|
||||
|
||||
pub fn delete_finalized_blocks_from_db(&mut self, block_ids: &[u64]) -> Result<()> {
|
||||
pub fn delete_blocks_from_db(&mut self, block_ids: &[u64]) -> Result<()> {
|
||||
block_ids
|
||||
.iter()
|
||||
.try_for_each(|&id| self.store.delete_block_at_id(id))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user