From f59c62f1956798eedb067f7c98d9b07393c6f9fb Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 11 Jun 2022 18:41:48 -0500 Subject: [PATCH] increase maxApproxRootIterations to 300 (#262) (#263) (cherry picked from commit 7ae03dde4f4b0b475faf57969b4f46707d7deb2d) Co-authored-by: khanh <50263489+catShaark@users.noreply.github.com> --- 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 (