The following statements will produce warning, wallet errors, do you have met, how should solve?
Interface tokenRecipient {function receiveApproval (address _from, uint256 _value, address _token, bytes _extraData) public; }
CodePudding user response:
The function receiveApproval (address _from, uint256 _value, address _token, bytes _extraData) external; Use this to replace the warning function