added at_latest (#900)

* added at_latest

* change some documentation

* remove inline
This commit is contained in:
Tadeo Hepperle
2023-04-11 13:07:12 +02:00
committed by GitHub
parent a69b3e45e7
commit 3b9fd72b26
18 changed files with 83 additions and 55 deletions
+1 -1
View File
@@ -397,7 +397,7 @@ impl<T: Config, C: OnlineClientT<T>> TxInBlock<T, C> {
.ok_or(Error::Transaction(TransactionError::BlockNotFound))?;
let events = EventsClient::new(self.client.clone())
.at(Some(self.block_hash))
.at(self.block_hash)
.await?;
Ok(crate::blocks::ExtrinsicEvents::new(