From daf7b95a9ada6f0d1e6bd883909daf8ca236107e Mon Sep 17 00:00:00 2001 From: khanh <50263489+catShaark@users.noreply.github.com> Date: Sun, 12 Jun 2022 06:06:09 +0700 Subject: [PATCH] increase maxApproxRootIterations to 300 (#262) (cherry picked from commit 7ae03dde4f4b0b475faf57969b4f46707d7deb2d) --- types/decimal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/decimal.go b/types/decimal.go index a464e24c0d26..a916af8f7d51 100644 --- a/types/decimal.go +++ b/types/decimal.go @@ -29,7 +29,7 @@ const ( maxDecBitLen = maxBitLen + DecimalPrecisionBits // max number of iterations in ApproxRoot function - maxApproxRootIterations = 100 + maxApproxRootIterations = 300 ) var (