Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L-06] Misspelling in Variable Name for Reinsert Pot Transfer Amount #61

Open
softstackio opened this issue Sep 10, 2024 · 0 comments
Open

Comments

@softstackio
Copy link

Description:
In the _sendDilutedAmounts function of the ClaimContract, there is a typographical error in the variable name used for calculating the transfer amount to the Reinsert Pot. The variable is named transferForResinsertPot instead of the correct spelling transferForReinsertPot.

Recommendation:
Correct the spelling of the variable name throughout the function:

function _sendDilutedAmounts(uint256 amount) internal {
   //diluted amounts are split 50/50 to DAO and ReinsertPot.
   uint256 transferForReinsertPot = amount / 2;  // Corrected spelling
   uint256 transferForDAO = amount - transferForReinsertPot;
   _transferNative(lateClaimBeneficorAddressReinsertPot,
transferForReinsertPot);
   _transferNative(lateClaimBeneficorAddressDAO, transferForDAO);
}
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

No branches or pull requests

1 participant