Creates a payable sender address to be pushed to the players array. Prevents TypeError when pushing in newer versions of Solidity.
Solc version: 0.8.7
CompilerError: solc returned the following errors:
TypeError: Member "push" not found or not visible after argument-dependent lookup in address payable[] storage ref.
Creates a payable sender address to be pushed to the players array. Prevents TypeError when pushing in newer versions of Solidity.
Solc version: 0.8.7 CompilerError: solc returned the following errors: TypeError: Member "push" not found or not visible after argument-dependent lookup in address payable[] storage ref.