mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
added at_latest (#900)
* added at_latest * change some documentation * remove inline
This commit is contained in:
@@ -20,7 +20,7 @@ async fn storage_account() -> Result<(), subxt::Error> {
|
||||
|
||||
let account_info = api
|
||||
.storage()
|
||||
.at(None)
|
||||
.at_latest()
|
||||
.await?
|
||||
.fetch_or_default(&account_info_addr)
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user