Skip to content

Update Referral.sol#14

Open
njrapidinnovation wants to merge 1 commit intothundercore:masterfrom
Namit1867:master
Open

Update Referral.sol#14
njrapidinnovation wants to merge 1 commit intothundercore:masterfrom
Namit1867:master

Conversation

@njrapidinnovation
Copy link
Copy Markdown

1.You can calculate the value of referral bonus only single time and use the same value in each iteration instead of calculating it in every itertion this would save gas also if MAX_REFER_DEPTH is quite large.

@njrapidinnovation
Copy link
Copy Markdown
Author

@LucienLee

@LucienLee
Copy link
Copy Markdown
Contributor

LGTM, but I can't access this repo after I left ThunderCore.

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.

2 participants