Skip to content

If contributor value turns out to be zero, then no need to proceed towards the token calculation & allocation steps #1

@Xcoder89

Description

@Xcoder89

Validations & refunds are handled in GetContributeValue() function itself.
So in the function;

 public static bool MintTokens()
ulong contribute_value = GetContributeValue(time, sender);

if(contribute_value == 0) {
   return false;
}

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