Skip to content

Commit 3a73271

Browse files
committed
Make createWithSigner non-async
1 parent 3f6ebd8 commit 3a73271

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/cosmwasm-stargate/src/signingcosmwasmclient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ export class SigningCosmWasmClient extends CosmWasmClient {
225225
* Creates an instance from a manually created Comet client.
226226
* Use this to use `Comet38Client` or `Tendermint37Client` instead of `Tendermint34Client`.
227227
*/
228-
public static async createWithSigner(
228+
public static createWithSigner(
229229
cometClient: CometClient,
230230
signer: OfflineSigner,
231231
options: SigningCosmWasmClientOptions = {},
232-
): Promise<SigningCosmWasmClient> {
232+
): SigningCosmWasmClient {
233233
return new SigningCosmWasmClient(cometClient, signer, options);
234234
}
235235

packages/stargate/src/signingstargateclient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ export class SigningStargateClient extends StargateClient {
133133
* Creates an instance from a manually created Comet client.
134134
* Use this to use `Comet38Client` or `Tendermint37Client` instead of `Tendermint34Client`.
135135
*/
136-
public static async createWithSigner(
136+
public static createWithSigner(
137137
cometClient: CometClient,
138138
signer: OfflineSigner,
139139
options: SigningStargateClientOptions = {},
140-
): Promise<SigningStargateClient> {
140+
): SigningStargateClient {
141141
return new SigningStargateClient(cometClient, signer, options);
142142
}
143143

0 commit comments

Comments
 (0)