global: snapshot pre cached change

This commit is contained in:
nym21
2026-04-10 10:27:07 +02:00
parent 95e5168244
commit 12aae503c9
8 changed files with 34 additions and 32 deletions
@@ -31,6 +31,7 @@ impl BlockProcessor<'_> {
self.vecs
.blocks
.blockhash
.inner
.checked_push(height, blockhash.clone())?;
self.vecs
.blocks
@@ -43,6 +44,7 @@ impl BlockProcessor<'_> {
self.vecs
.blocks
.timestamp
.inner
.checked_push(height, Timestamp::from(self.block.header.time))?;
Ok(())