Skip to content

Fix ambiguous principal calculation variable name#154

Merged
K1NGD4VID merged 3 commits into
TrusTrove:mainfrom
Theraxia:ambigious-principal-calculation
Jun 30, 2026
Merged

Fix ambiguous principal calculation variable name#154
K1NGD4VID merged 3 commits into
TrusTrove:mainfrom
Theraxia:ambigious-principal-calculation

Conversation

@Theraxia

Copy link
Copy Markdown
Contributor

Rename lp_shares to original_lp_shares in withdraw function to clarify it represents the state before withdrawal. This makes the principal portion calculation more readable and prevents future refactoring issues.

closes #104

Rename lp_shares to original_lp_shares in withdraw function to clarify
it represents the state before withdrawal. This makes the principal portion
calculation more readable and prevents future refactoring issues.

Fixes: TrusTrove#104
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Theraxia Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@K1NGD4VID K1NGD4VID merged commit 175b4fd into TrusTrove:main Jun 30, 2026
1 check passed
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.

Low: Ambiguous Principal Calculation in withdraw

2 participants