Skip to content

main.cpp gives the wrong error #13

Description

@BadWolf-63

Line 1464:

if (structcpid.verifiedteam != "gridcoin")
{
structcpid.Iscpidvalid = false;
structcpid.errors = "Team invalid";

}

if (!structcpid.Iscpidvalid)
{
structcpid.Iscpidvalid = false;
structcpid.errors = "CPID invalid. Check E-mail address.";

}

The second IF overwrite the first one giving the CPID invalid error also when the VERIFIED TEAM is invalid.

Best regards
BadWolf63

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