Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
remittance_nft/src/lib.rs:656-669: update_score rejects repayment_amount < MIN_SCORE_UPDATE_REPAYMENT (100) at line 656, then computes points_i128 = repayment_amount/100 (line 666) and does if points_i128 == 0 { return Ok(()) } (667-669). Once the 100-floor passes, repayment_amount>=100 so points_i128>=1, making the zero-branch dead code that can never execute.
Acceptance criteria
Files to touch
contracts/remittance_nft/src/lib.rs
Out of scope
- Changing the MIN_SCORE_UPDATE_REPAYMENT value or scoring formula
Why this matters
remittance_nft/src/lib.rs:656-669: update_score rejects repayment_amount < MIN_SCORE_UPDATE_REPAYMENT (100) at line 656, then computes points_i128 = repayment_amount/100 (line 666) and does if points_i128 == 0 { return Ok(()) } (667-669). Once the 100-floor passes, repayment_amount>=100 so points_i128>=1, making the zero-branch dead code that can never execute.
Acceptance criteria
Files to touch
contracts/remittance_nft/src/lib.rsOut of scope