Skip to content

Commit

Permalink
ensure 18 decimals for approval checks
Browse files Browse the repository at this point in the history
  • Loading branch information
brightiron committed Nov 5, 2023
1 parent 74fe1f0 commit 7231d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Lending/Cooler/positions/ExtendLoan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const ExtendLoan = ({
payment.
</>
}
spendAmount={new DecimalBigNumber(interestDue.toString())}
spendAmount={new DecimalBigNumber(interestDue.toString(), 18)}
>
<PrimaryButton
fullWidth
Expand Down

0 comments on commit 7231d3b

Please sign in to comment.