When I create my token total supply is double the value I set like this:
uint256 private _totalSupply = 1000000000000000 * (10 ** 9);
uint256 private _minimumSupply = 1000000000 * (10 ** 9);
uint8 private _decimals = 9;
string private _name;
string private _symbol;
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_mint(msg.sender, _totalSupply);
}
Creator receives 10 ** 15 and total supply shown in bscscan is 2 * 10 ** 15. Why is that?