Skip to content

Commit 98992aa

Browse files
committed
fix: apply other review comments
1 parent 7683745 commit 98992aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mithril-common/src/chain_reader/pallas_chain_reader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl PallasChainReader {
5050
}
5151

5252
/// Intersects the point of the chain with the given point.
53-
async fn intersect_point(&mut self, point: &ChainPoint) -> StdResult<()> {
53+
async fn find_intersect_point(&mut self, point: &ChainPoint) -> StdResult<()> {
5454
let client = self.get_client().await?;
5555
let chainsync = client.chainsync();
5656

@@ -99,7 +99,7 @@ impl Drop for PallasChainReader {
9999
#[async_trait]
100100
impl ChainBlockReader for PallasChainReader {
101101
async fn set_chain_point(&mut self, point: &ChainPoint) -> StdResult<()> {
102-
self.intersect_point(point).await
102+
self.find_intersect_point(point).await
103103
}
104104

105105
async fn get_next_chain_block(&mut self) -> StdResult<Option<ChainBlockNextAction>> {

0 commit comments

Comments
 (0)