Rename argument to queryKey in queryVerified

This commit is contained in:
Simon Warta 2022-12-07 19:17:16 +01:00
parent 037dc3d69f
commit 55da02982a

View File

@ -515,8 +515,12 @@ export class QueryClient {
/**
* @deprecated use queryStoreVerified instead
*/
public async queryVerified(store: string, key: Uint8Array, desiredHeight?: number): Promise<Uint8Array> {
const { value } = await this.queryStoreVerified(store, key, desiredHeight);
public async queryVerified(
store: string,
queryKey: Uint8Array,
desiredHeight?: number,
): Promise<Uint8Array> {
const { value } = await this.queryStoreVerified(store, queryKey, desiredHeight);
return value;
}