Skip to content

Commit

Permalink
Merge pull request #82 from binance-chain/visibility_priv
Browse files Browse the repository at this point in the history
[R4R]change  filed of _name, _symbol, _decimal visibility to private
  • Loading branch information
unclezoro authored Sep 11, 2020
2 parents 5036063 + 7fbc3e5 commit b4dc465
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/bep20_template/BEP20Token.template
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ contract BEP20Token is Context, IBEP20, Ownable {
mapping (address => mapping (address => uint256)) private _allowances;

uint256 private _totalSupply;
uint8 public _decimals;
string public _symbol;
string public _name;
uint8 private _decimals;
string private _symbol;
string private _name;

constructor() public {
_name = {{TOKEN_NAME}};
Expand Down

1 comment on commit b4dc465

@howardpen9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the difference for this

Please sign in to comment.