Skip to content

Commit

Permalink
fix: Minor keplr type-checking bug (#3825)
Browse files Browse the repository at this point in the history
* fix: Minor keplr type-checking bug

* chore: Add changelog

---------

Co-authored-by: Danilo Pantani <[email protected]>
  • Loading branch information
clockworkgr and Pantani authored Dec 8, 2023
1 parent e4c6d85 commit 3a5a40d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixes

- [#3825](https://github.com/ignite/cli/pull/3825) Fix a minor Keplr type-checking bug in TS client

### Features

- [#3830](https://github.com/ignite/cli/pull/3830) Remove gRPC info from Ignite Apps errors
Expand Down
3 changes: 0 additions & 3 deletions ignite/pkg/cosmosgen/templates/root/client.ts.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ export class IgniteClient extends EventEmitter {
return y;
}) ?? [];

let coinType = 118;

if (chainId) {
const suggestOptions: ChainInfo = {
chainId,
Expand All @@ -148,7 +146,6 @@ export class IgniteClient extends EventEmitter {
bech32Config,
currencies,
feeCurrencies,
coinType,
...keplrChainInfo,
};
await window.keplr.experimentalSuggestChain(suggestOptions);
Expand Down

0 comments on commit 3a5a40d

Please sign in to comment.