Skip to content

Error [contracts/oracle.sol:19:39: TypeError: Data location must be "memory"] #28

Description

@reuniware

Hello,

When trying to run the sample at https://fravoll.github.io/solidity-patterns/oracle.html
In Remix.Ethereum.Org
I have the following error :

contracts/oracle.sol:19:39: TypeError: Data location must be "memory" for parameter in function, but none was given.
function __callback(bytes32 myid, string result) public {
^-----------^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions