lightninglabs / lightninglabs/pool
cmd/pool: please round always with 8 decimals
Open
Nobody has claimed this yet.
beginner
cli
enhancement
freebie
- Dominant language
- Go
- Stars
- 259
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
Ported over from the tester repo:
Putting in an order will give:
```
Max chain fee: 0.000052 BTC
```
Please change to
```
Max chain fee: 0.00005200 BTC
```
Makes it easier to see it's 5200 sat :)
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in the cmd/pool order-placement output path mentioned by the issue and find where the Max chain fee is formatted. Update that output so the fee always displays eight decimal places, then verify that the example changes from 0.000052 BTC to 0.00005200 BTC.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100