From 8cde21b15c5d73d856645062b6b9d708765d9bdc Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 3 Feb 2020 09:23:00 +0100 Subject: [PATCH] Remove unnecessary await --- packages/bcp/src/cosmwasmconnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bcp/src/cosmwasmconnection.ts b/packages/bcp/src/cosmwasmconnection.ts index 68a416b3..dd288a7d 100644 --- a/packages/bcp/src/cosmwasmconnection.ts +++ b/packages/bcp/src/cosmwasmconnection.ts @@ -205,7 +205,7 @@ export class CosmWasmConnection implements BlockchainConnection { ): Promise | FailedTransaction> { try { const response = await this.restClient.txsById(id); - const chainId = await this.chainId(); + const chainId = this.chainId(); return this.parseAndPopulateTxResponse(response, chainId); } catch (error) { if (error.response.status === 404) {