Skip to content

acceptEndorsement does not return true #15

Description

@akshayarora2009

On branch develop, in file SmartIdentity.sol, line 218, the function acceptEndorsement does not return true after the endorsement for an attribute is accepted.

Here is the code for reference:

/**
     * Owner can mark an endorsement as accepted.
     */
    function acceptEndorsement(bytes32 _attributeHash, bytes32 _endorsementHash) onlyBy(owner) returns(bool) {
        var attribute = attributes[_attributeHash];
        var endorsement = attribute.endorsements[_endorsementHash];
        endorsement.accepted = true;
        sendEvent(SIG_CHANGE_EVENT, "Endorsement has been accepted");
}

Is that deliberate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions