Remove unnecessary smartQuery helper

This commit is contained in:
Simon Warta
2020-08-04 14:02:49 +02:00
parent 3b5896d151
commit dc0ef7c6f0
3 changed files with 14 additions and 19 deletions
-5
View File
@@ -59,11 +59,6 @@ const connect = async (
return { client, address };
};
// smartQuery assumes the content is proper JSON data and parses before returning it
async function smartQuery(client: CosmWasmClient, addr: string, query: object): Promise<any> {
return client.queryContractSmart(addr, query);
}
// loadOrCreateMnemonic will try to load a mnemonic from the file.
// If missing, it will generate a random one and save to the file.
//