Closed alimazhar4 closed 1 year ago
It was solved by changing the checkUpKeep function's parameter to bytes memory.
With Error:
function checkUpkeep(
bytes calldata /*checkData*/
)
...
Without Error:
function checkUpkeep(
bytes memory /* checkData */
)
...
I am get the following error:
The line where this happened is:
The code is::
I converted the string to bytes using the following but it also didn't work:
The error I get after doing this:
How do I pass an empty parameter in bytes calldata format?