-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
I created smartcontract and has been generated using FireFly API Interface.
This is my smartcontract code:
contract Fromzero {
struct Track {
address createdBy;
string materialNumber;
}
Track track;
function gettrack() public view returns (address createdBy, string memory materialNumber) {
return (track.createdBy, track.materialNumber);
}
}
expected output:
{
"createdBy": "string",
"materialNumber": "string"
}
but got:
{
"output": null
}
I have tried using remix and its working.
Could you all help me please?
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers