Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/app/components/shared/asset-piechart.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ export const chartColorForTicker = (ticker) => {
return '#002352';
case 'DOGE':
return '#C3A634';
case 'LBC':
return '#46aa9e';
case 'LTC':
return '#BFBBBB';
case 'PHR':
Expand Down
5 changes: 3 additions & 2 deletions src/app/modules/token-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TokenManifest {
infos.set(info.ticker, info);
for (const t of this._manifest) {
const token = new Token(t);
token.xbinfo = infos.get(token.ticker);
token.xbinfo = infos.get(token.ticker) || {};
if (token.ticker === 'BLOCK')
token.xbinfo.rpcport = 41419; // default BLOCK port to ensure no clash with DX
this._tokens.set(token.ticker, token);
Expand All @@ -43,9 +43,10 @@ class TokenManifest {
* @return Token
*/
getToken(ticker) {
console.log(ticker, this._tokens.has(ticker), this._tokens.get(ticker));
if (!this._tokens.has(ticker))
return null;
return this._tokens.get(ticker);
return this._tokens.get(ticker) ;
}

}
Expand Down
Binary file added src/static/images/coins/icon-lbc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/coins/icon-lbc@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions static-data/coin-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,12 @@
"website": "https://polispay.org/",
"explorer": "https://explorer.polispay.org/",
"explorerTx": "https://explorer.polispay.org/tx/{{tx}}"
},
{
"ticker": "LBC",
"name": "LBRY Credits",
"website": "https://lbry.com/",
"explorer": "https://explorer.lbry.com/",
"explorerTx": "https://explorer.lbry.com/tx/{{tx}}"
}
]