From a8cc995a50555c43bee624a4904e97d87d788ec1 Mon Sep 17 00:00:00 2001 From: Oink70 Date: Mon, 22 Sep 2025 13:14:01 +0000 Subject: [PATCH] round blocksync percentage down --- .../components/postAuth/apps/wallet/coinWallet/coinWallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/src/components/postAuth/apps/wallet/coinWallet/coinWallet.js b/react/src/components/postAuth/apps/wallet/coinWallet/coinWallet.js index 5b36b90..a4d0bd7 100644 --- a/react/src/components/postAuth/apps/wallet/coinWallet/coinWallet.js +++ b/react/src/components/postAuth/apps/wallet/coinWallet/coinWallet.js @@ -409,7 +409,7 @@ class CoinWallet extends React.Component { ? this.NO_HEIGHT : longestchain < blocks || longestchain === 0 ? 0 - : Number(((blocks / longestchain) * 100).toFixed(2)); + : Math.floor(((blocks / longestchain) * 10000) / 100 ); walletLoadState = { ...walletLoadState,