mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 03:58:04 +00:00
Fix the wrong rpc call in query_storage_at() (#223)
This commit is contained in:
+1
-1
@@ -239,7 +239,7 @@ impl<T: Runtime> Rpc<T> {
|
||||
) -> Result<Vec<StorageChangeSet<<T as System>::Hash>>, Error> {
|
||||
let params = Params::Array(vec![to_json_value(keys)?, to_json_value(at)?]);
|
||||
self.client
|
||||
.request("state_queryStorage", params)
|
||||
.request("state_queryStorageAt", params)
|
||||
.await
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user