Skip to content

Commit

Permalink
Fix Tendermint Version
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Oct 2, 2024
1 parent b19e570 commit 30fd6c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions wormchain/ts-sdk/src/core/signingClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
SigningStargateClient,
SigningStargateClientOptions,
} from "@cosmjs/stargate";
import { Tendermint37Client } from "@cosmjs/tendermint-rpc";
import * as authModule from "../modules/cosmos.auth.v1beta1";
import * as bankModule from "../modules/cosmos.bank.v1beta1";
import * as baseModule from "../modules/cosmos.base.tendermint.v1beta1";
Expand Down Expand Up @@ -198,8 +199,10 @@ export const getWormchainSigningClient = async (
addr: tendermintAddress,
});

const client = await SigningStargateClient.connectWithSigner(
tendermintAddress,
let tendermintClient = await Tendermint37Client.connect(tendermintAddress);

const client = await SigningStargateClient.createWithSigner(
tendermintClient,
wallet,
{
...options,
Expand Down

0 comments on commit 30fd6c2

Please sign in to comment.