Skip to content

Conversation

@morazzela
Copy link

No description provided.

function createTeam(uint competitionIndex, string calldata name, bytes32 referralCode) external registrationIsOpen(competitionIndex) isNotMember(competitionIndex) {
Competition storage competition = competitions[competitionIndex];

require(referralStorage.codeOwners(referralCode) != address(0), "Referral code does not exist.");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xdev10 you've said we can skip the referral code, do you mean referral code will be optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants