mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
global: final snapshot and fixes before release
This commit is contained in:
@@ -63,7 +63,8 @@ impl Query {
|
||||
|
||||
/// Current computed height (series)
|
||||
pub fn computed_height(&self) -> Height {
|
||||
Height::from(self.computer().distribution.supply_state.len())
|
||||
let len = self.computer().distribution.supply_state.len();
|
||||
Height::from(len.saturating_sub(1))
|
||||
}
|
||||
|
||||
/// Minimum of indexed and computed heights
|
||||
|
||||
Reference in New Issue
Block a user