Skip to content

Commit

Permalink
Merge pull request #621 from eco-stake/handle-no-coingecko-id
Browse files Browse the repository at this point in the history
Handle missing coinGeckoId when suggesting chain
  • Loading branch information
tombeynon authored Oct 4, 2022
2 parents abe2379 + 41fcfcc commit 4b89e89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils/Network.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ class Network {
const currency = {
coinDenom: this.symbol,
coinMinimalDenom: this.denom,
coinDecimals: this.decimals,
coinGeckoId: this.coinGeckoId
coinDecimals: this.decimals
}
if(this.coinGeckoId){
currency.coinGeckoId = this.coinGeckoId
}
const data = {
rpc: this.rpcUrl,
Expand Down

0 comments on commit 4b89e89

Please sign in to comment.