Skip to content

Commit

Permalink
fix(carbon-defi) use NotImplementedException
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandSchtroumpf committed Jan 31, 2024
1 parent 8af03c6 commit 4afe7d6
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Inject } from '@nestjs/common';
import { BigNumberish } from 'ethers';
import { Inject, NotImplementedException } from '@nestjs/common';
import { sumBy } from 'lodash';

import { APP_TOOLKIT, IAppToolkit } from '~app-toolkit/app-toolkit.interface';
Expand Down Expand Up @@ -155,7 +154,7 @@ export class EthereumCarbonDefiStrategyContractPositionFetcher extends CustomCon
}

// Unused since CustomContractPositionTemplatePositionFetcher forces Promise output while it can be sync
async getTokenBalancesPerPosition(): Promise<BigNumberish[]> {
return [];
getTokenBalancesPerPosition(): never {
throw new NotImplementedException();
}
}

0 comments on commit 4afe7d6

Please sign in to comment.