Skip to content

Commit c4a56c8

Browse files
author
Felipe Rosa
committed
chore: Change read_block point type
1 parent 60735cc commit c4a56c8

File tree

1 file changed

+2
-1
lines changed
  • hermes/crates/cardano-chain-follower/src

1 file changed

+2
-1
lines changed

hermes/crates/cardano-chain-follower/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ impl Reader {
119119
/// # Errors
120120
///
121121
/// Returns Err if the block was not found or if some communication error ocurred.
122-
pub async fn read_block(&mut self, _at: Point) -> Result<MultiEraBlockData> {
122+
pub async fn read_block<P>(&mut self, _at: P) -> Result<MultiEraBlockData>
123+
where P: Into<PointOrTip> {
123124
todo!()
124125
}
125126

0 commit comments

Comments
 (0)