mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 20:01:03 +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> {
|
) -> Result<Vec<StorageChangeSet<<T as System>::Hash>>, Error> {
|
||||||
let params = Params::Array(vec![to_json_value(keys)?, to_json_value(at)?]);
|
let params = Params::Array(vec![to_json_value(keys)?, to_json_value(at)?]);
|
||||||
self.client
|
self.client
|
||||||
.request("state_queryStorage", params)
|
.request("state_queryStorageAt", params)
|
||||||
.await
|
.await
|
||||||
.map_err(Into::into)
|
.map_err(Into::into)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user