Add missing "to" in broadcastTx doc comments

This commit is contained in:
Simon Warta 2021-05-18 11:30:53 +02:00
parent b62c4b4b58
commit 5cd4041666
2 changed files with 2 additions and 2 deletions

View File

@ -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!

View File

@ -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,