Skip to content

Commit

Permalink
fix: cosmos ledger ws (#6070)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre authored Jan 24, 2024
1 parent f02fe7f commit f519a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/chain-adapters/src/cosmossdk/CosmosSdkBaseAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,10 @@ export abstract class CosmosSdkBaseAdapter<T extends CosmosSdkChainId> implement
onMessage: (msg: Transaction) => void,
onError: (err: SubscribeError) => void,
): Promise<void> {
const { accountNumber, wallet } = input
const { pubKey, accountNumber, wallet } = input

const bip44Params = this.getBIP44Params({ accountNumber })
const address = await this.getAddress({ accountNumber, wallet })
const address = await this.getAddress({ accountNumber, wallet, pubKey })
const subscriptionId = toRootDerivationPath(bip44Params)

await this.providers.ws.subscribeTxs(
Expand Down

0 comments on commit f519a09

Please sign in to comment.