function _execute(Proposal memory p,
        bytes memory transactionBytecode) internal returns (bool) {
        ProposalType proposalType = p.proposalType;
        uint childID = p.childID;

        if (proposalType == ProposalType.Funding) {
            FundingProposal memory fundingProposal
                = fundingProposals[childID];

        return fundingProposal.recipient.call


/C/Users/uddin/dao/contracts/dao.sol:407:9: TypeError: Different number of arguments in return statement than in returns declaration.
        return fundingProposal.recipient.call
        ^ (Relevant source part starts here and spans across multiple lines).

Compilation failed. See above.
  • 2
    Starting with solc v0.5 .call() has changed its return type from a bool to a tuple: (bool res, bytes memory result). – Ismael Jun 7 '20 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.