Skip to content

Commit

Permalink
chore: fix wrong print info in example (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyodyssey authored May 23, 2024
1 parent 3a9e175 commit b625d0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ async fn main() -> Result<()> {
.fetch_latest_checkpoint(&networks::Network::SEPOLIA)
.await
.unwrap();
println!("Fetched latest goerli checkpoint: {sepolia_checkpoint}");
println!("Fetched latest sepolia checkpoint: {sepolia_checkpoint}");

// Fetch the latest holesky checkpoint
let holesky_checkpoint = cf
.fetch_latest_checkpoint(&networks::Network::SEPOLIA)
.fetch_latest_checkpoint(&networks::Network::HOLESKY)
.await
.unwrap();
println!("Fetched latest goerli checkpoint: {holesky_checkpoint}");
println!("Fetched latest holesky checkpoint: {holesky_checkpoint}");

// Fetch the latest mainnet checkpoint
let mainnet_checkpoint = cf
Expand Down

0 comments on commit b625d0c

Please sign in to comment.