Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
feat: explicit normalizeAmount return value
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Dec 8, 2022
1 parent c2085a3 commit f8ff14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/investor-foxy/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class FoxyApi {
* to exponential notation ('1.6e+21') in javascript.
* @param amount
*/
private normalizeAmount(amount: BigNumber) {
private normalizeAmount(amount: BigNumber): ethers.BigNumber {
return ethers.BigNumber.from(amount.toFixed())
}

Expand Down

0 comments on commit f8ff14c

Please sign in to comment.