Skip to content

Commit c4661f4

Browse files
committed
refactor: improves isLuxy constant
1 parent ca09f88 commit c4661f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/assets/CollectiblesController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export class CollectiblesController extends BaseController<CollectiblesConfig, C
230230
* and the function will return `undefined`.
231231
*/
232232
async fetchLuxyNFTs(selectedAddress: string, chainId: string, contractController: any) {
233+
const isLuxy = true;
233234
try {
234235
const network = chainId === '57' ? 'Syscoin' : 'Rollux';
235236
const limit = 50;
@@ -258,7 +259,7 @@ export class CollectiblesController extends BaseController<CollectiblesConfig, C
258259
return undefined;
259260
}
260261

261-
return await this.fixDataCollectibles(collectibles, chainId, selectedAddress, contractController, true);
262+
return await this.fixDataCollectibles(collectibles, chainId, selectedAddress, contractController, isLuxy);
262263
} catch (e) {
263264
logInfo('PPYang fetchLuxyNFTs e:', e);
264265
return undefined;

0 commit comments

Comments
 (0)