From 53e39ab24b9bc0f18ac44bbdf13c8f2bc1d7f75e Mon Sep 17 00:00:00 2001 From: DavideSegullo Date: Mon, 27 Mar 2023 12:54:59 +0200 Subject: [PATCH] style: :rotating_light: fix lint errors --- packages/cosmwasm-stargate/src/cosmwasmclient.ts | 6 ++---- packages/cosmwasm-stargate/src/signingcosmwasmclient.ts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/cosmwasm-stargate/src/cosmwasmclient.ts b/packages/cosmwasm-stargate/src/cosmwasmclient.ts index 6ae7bb43..d95a977b 100644 --- a/packages/cosmwasm-stargate/src/cosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/cosmwasmclient.ts @@ -340,12 +340,10 @@ export class CosmWasmClient { * * If the transaction is broadcasted, a `string` containing the hash of the transaction is returned. The caller then * usually needs to check if the transaction was included in a block and was successful. - * + * * @returns Returns the hash of the transaction */ - public async broadcastTxWithoutPolling( - tx: Uint8Array, - ): Promise { + public async broadcastTxWithoutPolling(tx: Uint8Array): Promise { const broadcasted = await this.forceGetTmClient().broadcastTxSync({ tx }); if (broadcasted.code) { diff --git a/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts b/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts index 8103fcd7..761bb417 100644 --- a/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts @@ -559,7 +559,7 @@ export class SigningCosmWasmClient extends CosmWasmClient { /** * Creates a transaction with the given messages, fee and memo. Then signs and broadcasts the transaction. - * + * * This method is useful if you want to send a transaction in broadcast, * without waiting for it to be placed inside a block, because for example * I would like to receive the hash to later track the transaction with another tool. @@ -568,7 +568,7 @@ export class SigningCosmWasmClient extends CosmWasmClient { * @param messages * @param fee * @param memo - * + * * @returns Returns the hash of the transaction */ public async signAndBroadcastWithoutPolling(