diff --git a/src/lib.rs b/src/lib.rs index 1fc41ae..005e7d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,6 +32,7 @@ //! ```rust,no_run //! # use firehose_client::{Chain, FirehoseClient}; //! # use futures::StreamExt; +//! # use vee::EthBlock as Block; //! # #[tokio::main] //! # async fn main() -> Result<(), vee::ProtosError> { //! const TOTAL_BLOCKS: u64 = 8192; @@ -39,7 +40,7 @@ //! //! let mut client = FirehoseClient::new(Chain::Ethereum); //! let mut stream = client -//! .stream_blocks(START_BLOCK, TOTAL_BLOCKS) +//! .stream_blocks::(START_BLOCK, TOTAL_BLOCKS) //! .await //! .unwrap(); //!