I use pragma 0.6.2. I am trying copile in truffle code which contain this lines:
fallback() external payable{}
I an getting error:
The payable fallback function is defined here. fallback() external payable{} ^---------------------------^
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityI use pragma 0.6.2. I am trying copile in truffle code which contain this lines:
fallback() external payable{}
I an getting error:
The payable fallback function is defined here. fallback() external payable{} ^---------------------------^