Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
In remittance_nft/src/lib.rs update_score, after repayment_amount < min_repayment returns BelowMinimum, the next check if repayment_amount < Self::MIN_SCORE_UPDATE_REPAYMENT (100) returns InvalidRepaymentAmount, and later let points_i128 = repayment_amount / 100; if points_i128 == 0 { return Ok(()) } is dead because amounts below 100 already returned. The overlapping floors are confusing and partly unreachable.
Acceptance criteria
Files to touch
- remittance_nft/src/lib.rs
Out of scope
- Changing the points-per-repayment formula
- Token-denomination handling
Why this matters
In remittance_nft/src/lib.rs update_score, after repayment_amount < min_repayment returns BelowMinimum, the next check if repayment_amount < Self::MIN_SCORE_UPDATE_REPAYMENT (100) returns InvalidRepaymentAmount, and later let points_i128 = repayment_amount / 100; if points_i128 == 0 { return Ok(()) } is dead because amounts below 100 already returned. The overlapping floors are confusing and partly unreachable.
Acceptance criteria
Files to touch
Out of scope