Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Jun 22, 2021
1 parent 302559a commit f86d26c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ describe('Poolpair', () => {
expect(Object.keys(poolpairResult).length).toStrictEqual(1)

// Note(canonbrother): simulate poolswap calculation to find reserveB
// case: swap 6 CAT to DFI
// case: swap 666 CAT to DFI
// 1000 : 500 = sqrt(1000 * 500) = 707.10678118
// 1666 : ? = sqrt(1666 * ?) = 707.10678118
// ? = 707.10678118^2 / 1666 = 300.120048014

0 comments on commit f86d26c

Please sign in to comment.