mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
Improve docs for at_latest (#2035)
Tell the user that these functions operate with the last finalized block. Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
@@ -48,7 +48,7 @@ where
|
||||
self.at_or_latest(Some(block_ref.into()))
|
||||
}
|
||||
|
||||
/// Obtain events for the latest block.
|
||||
/// Obtain events for the latest finalized block.
|
||||
pub fn at_latest(&self) -> impl Future<Output = Result<Events<T>, Error>> + Send + 'static {
|
||||
self.at_or_latest(None)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user