Remove unnecessary await

This commit is contained in:
Simon Warta
2020-02-03 09:23:00 +01:00
parent 7a8f248fcb
commit 8cde21b15c
+1 -1
View File
@@ -205,7 +205,7 @@ export class CosmWasmConnection implements BlockchainConnection {
): Promise<ConfirmedAndSignedTransaction<UnsignedTransaction> | 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) {