Skip to content

Commit

Permalink
fix: IBC url for version IBC6
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Mar 28, 2023
1 parent ece4167 commit 5c650b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client/lcd/api/IbcAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ export class IbcAPI extends BaseAPI {
params: APIParams = {}
): Promise<IbcClientParams> {
return this.getReqFromChainID(chainID)
.get<{ params: IbcClientParams.Data }>(`/ibc/client/v1/params`, params)
.get<{ params: IbcClientParams.Data }>(
`/ibc/core/client/v1/params`,
params
)
.then(({ params: d }) => ({
allowed_clients: d.allowed_clients,
}));
Expand Down

0 comments on commit 5c650b6

Please sign in to comment.