From c62702ba30eef3cf410115f981faa883fffb967f Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Mon, 3 Feb 2020 21:33:39 +0100 Subject: [PATCH] Fix lint issues --- packages/sdk/src/restclient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk/src/restclient.ts b/packages/sdk/src/restclient.ts index b89e7fcb..c7d17e94 100644 --- a/packages/sdk/src/restclient.ts +++ b/packages/sdk/src/restclient.ts @@ -141,7 +141,7 @@ export class RestClient { // encodeTx returns the amino-encoding of the transaction public async encodeTx(stdTx: StdTx): Promise { - const tx = {"type": "cosmos-sdk/StdTx", "value": stdTx}; + const tx = { type: "cosmos-sdk/StdTx", value: stdTx }; const responseData = await this.post("/txs/encode", tx); if (!(responseData as any).tx) { throw new Error("Unexpected response data format");