fix approxeq

This commit is contained in:
Adrian Brzeziński 2024-02-23 12:17:33 +01:00
parent 98a65229c7
commit 60673eb312
1 changed files with 1 additions and 1 deletions

View File

@ -204,5 +204,5 @@ const tokenMaxFallback = {
amountWithBorrowIsLimited: false,
}
const approxeq = (v1: number, v2: number, epsilon = 1) =>
const approxeq = (v1: number, v2: number, epsilon = 0.5) =>
Math.abs(v1 - v2) <= epsilon