mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-27 08:09:58 -07:00
global: snapshot
This commit is contained in:
@@ -186,6 +186,7 @@ impl Query {
|
||||
.unwrap_or(total),
|
||||
};
|
||||
|
||||
let end = end.max(start);
|
||||
let weight = Self::weight(&vecs, Some(start as i64), Some(end as i64));
|
||||
if weight > max_weight {
|
||||
return Err(Error::WeightExceeded {
|
||||
|
||||
Reference in New Issue
Block a user