mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-29 00:59:58 -07:00
global: veccached change
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use brk_error::Result;
|
||||
use brk_error::{OptionData, Result};
|
||||
use brk_types::{BlockHash, BlockStatus, Height};
|
||||
use vecdb::AnyVec;
|
||||
|
||||
@@ -25,7 +25,8 @@ impl Query {
|
||||
.vecs
|
||||
.blocks
|
||||
.blockhash
|
||||
.read_once(height.incremented())?,
|
||||
.get(height.incremented())
|
||||
.data()?,
|
||||
)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user