mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-17 14:08:10 -07:00
global: snapshot pre cached change
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user