Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

added best practice in TestToken.sol #388

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/common/tokens/TestToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ contract TestToken is ERC20Mintable {
name = _name;
symbol = _symbol;

uint256 value = 10**10 * (10**18);
uint256 value = 10**10 * (10**uint256(decimals));
mint(msg.sender, value);
}
}