From 8ad6a85c9687dcb83cefe41f26387111faa10df1 Mon Sep 17 00:00:00 2001 From: lalala <30140675+kpr007@users.noreply.github.com> Date: Sat, 14 Nov 2020 13:49:54 +0800 Subject: [PATCH] Update token-erc20.sol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 小数点位数改为6位数 --- solidity/token-erc20.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity/token-erc20.sol b/solidity/token-erc20.sol index 5be00178..00bc042f 100644 --- a/solidity/token-erc20.sol +++ b/solidity/token-erc20.sol @@ -8,7 +8,7 @@ contract TokenERC20 { // Public variables of the token string public name; string public symbol; - uint8 public decimals = 18; + uint8 public decimals = 6; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply;