Closed amazingandyyy closed 5 years ago
Refer to https://github.com/ethereum/solidity/issues/2118, and https://github.com/ethereum/solidity/issues/1793
throw is deprecated and suggest to use revert() instead.
throw
revert()
Refer to https://github.com/ethereum/solidity/issues/2118, and https://github.com/ethereum/solidity/issues/1793
throw
is deprecated and suggest to userevert()
instead.