mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
global: snapshot
This commit is contained in:
@@ -35,12 +35,14 @@ pub(super) fn compute(
|
||||
gini.bps
|
||||
.height
|
||||
.validate_computed_version_or_reset(source_version)?;
|
||||
gini.bps.height.truncate_if_needed_at(
|
||||
gini.bps
|
||||
.height
|
||||
.len()
|
||||
.min(starting_indexes.height.to_usize()),
|
||||
)?;
|
||||
|
||||
let min_len = gini
|
||||
.bps
|
||||
.height
|
||||
.len()
|
||||
.min(starting_indexes.height.to_usize());
|
||||
|
||||
gini.bps.height.truncate_if_needed_at(min_len)?;
|
||||
|
||||
let total_heights = supply_vecs
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user