Skip to content

Commit

Permalink
Merge pull request #344 from lightninglabs/fix-cli-messages
Browse files Browse the repository at this point in the history
cmd: improve InitAccount cli message
  • Loading branch information
positiveblue authored Mar 3, 2022
2 parents 1ec8849 + 51a64e8 commit 8bdd818
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/pool/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ func newAccount(ctx *cli.Context) error {

switch {
case satPerVByte > 0:
// If the user specified `sat_per_vbyte` we do not need to use the
// default confTarget.
confTarget = 0

// Enforce a minimum fee rate of 253 sat/kw by rounding up if 1
// sat/byte is used.
feeRate := chainfee.SatPerKVByte(satPerVByte * 1000).FeePerKWeight()
Expand Down

0 comments on commit 8bdd818

Please sign in to comment.