Skip to content

Commit bfec289

Browse files
Stop skipping the first block
1 parent 9cb447a commit bfec289

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/worker/follower.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ impl Follower {
1919
.uri(uri)?
2020
.build::<CardanoSyncClient>()
2121
.await;
22-
let mut tip = client.follow_tip(points).await?;
23-
// TODO: https://github.com/txpipe/dolos/issues/294
24-
_ = tip.event().await.context("skipping first")?;
25-
Ok(Self { tip })
22+
Ok(Self {
23+
tip: client.follow_tip(points).await?,
24+
})
2625
}
2726

2827
pub async fn next_event(&mut self) -> Result<(bool, Bytes, Block, BlockHeader)> {

0 commit comments

Comments
 (0)