From 5cd40416661a3a5ba76e678578c9cfd36b385ea9 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 18 May 2021 11:30:53 +0200 Subject: [PATCH] Add missing "to" in broadcastTx doc comments --- packages/cosmwasm-stargate/src/cosmwasmclient.ts | 2 +- packages/stargate/src/stargateclient.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cosmwasm-stargate/src/cosmwasmclient.ts b/packages/cosmwasm-stargate/src/cosmwasmclient.ts index 7299ab56..2420e150 100644 --- a/packages/cosmwasm-stargate/src/cosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/cosmwasmclient.ts @@ -216,7 +216,7 @@ export class CosmWasmClient { * If the transaction is not included in a block before the provided timeout, this errors with a `TimeoutError`. * * If the transaction is included in a block, a `BroadcastTxResponse` is returned. The caller then - * usually needs check for execution success or failure. + * usually needs to check for execution success or failure. */ // NOTE: This method is tested against slow chains and timeouts in the @cosmjs/stargate package. // Make sure it is kept in sync! diff --git a/packages/stargate/src/stargateclient.ts b/packages/stargate/src/stargateclient.ts index 1add2689..6c8a9eb9 100644 --- a/packages/stargate/src/stargateclient.ts +++ b/packages/stargate/src/stargateclient.ts @@ -310,7 +310,7 @@ export class StargateClient { * If the transaction is not included in a block before the provided timeout, this errors with a `TimeoutError`. * * If the transaction is included in a block, a `BroadcastTxResponse` is returned. The caller then - * usually needs check for execution success or failure. + * usually needs to check for execution success or failure. */ public async broadcastTx( tx: Uint8Array,