indexer: moved height to iterator

This commit is contained in:
nym21
2025-02-20 11:40:26 +01:00
parent 5e39510f21
commit f0d86f2392
19 changed files with 124 additions and 87 deletions
+2 -2
View File
@@ -14,10 +14,10 @@ fn main() {
.unwrap(),
));
let start = Some(460_001);
let start = Some(460_001_u32.into());
let end = None;
biter::new(data_dir, start, end, rpc)
biterator::new(data_dir, start, end, rpc)
.iter()
.for_each(|(height, _block, hash)| {
println!("{height}: {hash}");