Fixing release function and formatting functions

This commit is contained in:
Bruno
2022-12-07 21:28:34 -03:00
parent f25c61b21e
commit 50835c94ed
4 changed files with 57 additions and 79 deletions

View File

@@ -24,9 +24,7 @@ const formatWalletAddress = (): string => {
};
const formatWalletBalance = (): string => {
const formattedBalance = blockchain.formatEther(balance.value);
const fixed = formattedBalance.substring(0, 8);
const fixed = balance.value.substring(0, 8);
return fixed;
};
</script>