Gold drop dialog silently clamps an amount past its cap
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Find the ground-drop gold dialog and the withdraw draft behavior added around #4886; the issue does not name files or tests. Read the draft amount handling, then add a pinning test for amounts above the carried balance. Done when the drop draft caps to the amount the balance allows, and the test confirms it.
Written by the indexing model from the issue text.
Description
Follow-up noted during the review of #4886.
The ground-drop gold dialog has the same silent-clamp shape the withdraw
draft had before that fix: typing an amount past what the carried balance
actually allows silently proceeds with a clamped value instead of capping
the draft the way the withdraw row now does.
Scope notes:
- The server already clamps a ground gold drop, so no bad amount can
reach the wire; the defect is display-side only. - It predates the gold-cap work; it was left out of #4886 on purpose so
that fix stayed narrow.
Wanted: the drop draft gets the same treatment as the withdraw draft
(cap to the room the balance leaves, honestly) — a small client-only
change with a pinning test.
- Dominant language
- Go
- Stars
- 97
- Forks
- 61
- Avg merge
- 3h 59m
- Merged PRs (30d)
- 966
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opensro-dev/opensro
-
Format one minified client file with dprint (ongoing: one file per PR)Possibly taken A pull request linked to this issue is open or already merged. Openarea: client enhancement good first issue priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
opensro-dev/opensro#1 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
opensro-dev/opensro#4900 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
opensro-dev/opensro#4898 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
opensro-dev/opensro#4896 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
opensro-dev/opensro#4894 ·
Maintainers usually reply within 1 day
All issues in opensro-dev/opensro
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nutmos/expensetrackr#235 ·
Maintainers usually reply within 1 day
-
docs: README signing sentence conflates partial-set failure with the fully-absent unsigned pathOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
unbound-force/gaze#440 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sresarehumantoo/cc-artex#456 ·