Skip to content

Commit 7c2108c

Browse files
committed
fixup! migrate cur_height from chain storage to blockchain parser
1 parent 1159002 commit 7c2108c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl ChainStorage {
2121
})
2222
}
2323

24-
/// Returns the next block and its height
24+
/// Returns the block of a given height.
2525
#[must_use]
2626
pub fn get_block(&mut self, height: u64) -> Option<bitcoin::Block> {
2727
// Read block

0 commit comments

Comments
 (0)