lightninglabs / lightninglabs/pool

cmd/pool: please round always with 8 decimals

Open
#91 0 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.