Incorrect Rounding Down of Balance #10167 (#13337)

feature/default_network_editable
dragana8 3 years ago committed by GitHub
parent 683aa22b56
commit a67a5efca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json
  2. 1
      ui/hooks/useTokenTracker.js
  3. 8
      yarn.lock

@ -109,7 +109,7 @@
"@metamask/contract-metadata": "^1.31.0", "@metamask/contract-metadata": "^1.31.0",
"@metamask/controllers": "^25.0.0", "@metamask/controllers": "^25.0.0",
"@metamask/eth-ledger-bridge-keyring": "^0.10.0", "@metamask/eth-ledger-bridge-keyring": "^0.10.0",
"@metamask/eth-token-tracker": "^3.0.1", "@metamask/eth-token-tracker": "^4.0.0",
"@metamask/etherscan-link": "^2.1.0", "@metamask/etherscan-link": "^2.1.0",
"@metamask/jazzicon": "^2.0.0", "@metamask/jazzicon": "^2.0.0",
"@metamask/logo": "^3.1.1", "@metamask/logo": "^3.1.1",

@ -67,6 +67,7 @@ export function useTokenTracker(
tokens: tokenList, tokens: tokenList,
includeFailedTokens, includeFailedTokens,
pollingInterval: SECOND * 8, pollingInterval: SECOND * 8,
balanceDecimals: 5,
}); });
tokenTracker.current.on('update', updateBalances); tokenTracker.current.on('update', updateBalances);

@ -2718,10 +2718,10 @@
ethereumjs-util "^7.0.9" ethereumjs-util "^7.0.9"
hdkey "0.8.0" hdkey "0.8.0"
"@metamask/eth-token-tracker@^3.0.1": "@metamask/eth-token-tracker@^4.0.0":
version "3.1.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/@metamask/eth-token-tracker/-/eth-token-tracker-3.1.0.tgz#1396c5d88401f3cd598b0c86d3a42951c8e78d73" resolved "https://registry.yarnpkg.com/@metamask/eth-token-tracker/-/eth-token-tracker-4.0.0.tgz#f3129855873a857ef675d4c28f532be684241b61"
integrity sha512-SopDFnIu7lI8aloD9HGPEpqlcjZNzZ5BeXZqrNRSdSO+CGpuwmFoeyrCrgEmrlkKQvP8dQi6R6aYK/itFPhPrg== integrity sha512-T+InGiclG5JJB1uOhMpzywthuDm2xw+Wiq3Y7UbCDdLHtAWxgAwPlNVAyfjwlbWmf9G/TODzMuYyyxEtynbYJw==
dependencies: dependencies:
deep-equal "^1.1.0" deep-equal "^1.1.0"
eth-block-tracker "^4.4.2" eth-block-tracker "^4.4.2"

Loading…
Cancel
Save