Skip to content

Commit

Permalink
Handle missing coinGeckoId when suggesting chain
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Oct 4, 2022
1 parent abe2379 commit 41fcfcc
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 41fcfcc

Please sign in to comment.