Fix the wrong rpc call in query_storage_at() (#223)

This commit is contained in:
h4x3rotab
2021-01-27 16:57:47 +08:00
committed by GitHub
parent 4725a33ea2
commit f3ece6d933
+1 -1
View File
@@ -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)
}