Skip to content

Commit c859dcc

Browse files
committed
sweeptimelock: bump default max CSV limit to 2016
1 parent c1cc746 commit c859dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/chantools/sweeptimelock.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ import (
1919

2020
const (
2121
defaultFeeSatPerVByte = 2
22-
defaultCsvLimit = 2000
22+
defaultCsvLimit = 2016
2323
)
2424

2525
type sweepTimeLockCommand struct {
2626
RootKey string `long:"rootkey" description:"BIP32 HD root key to use. Leave empty to prompt for lnd 24 word aezeed."`
2727
Publish bool `long:"publish" description:"Should the sweep TX be published to the chain API?"`
2828
SweepAddr string `long:"sweepaddr" description:"The address the funds should be sweeped to."`
29-
MaxCsvLimit int `long:"maxcsvlimit" description:"Maximum CSV limit to use. (default 2000)"`
29+
MaxCsvLimit int `long:"maxcsvlimit" description:"Maximum CSV limit to use. (default 2016)"`
3030
FeeRate uint32 `long:"feerate" description:"The fee rate to use for the sweep transaction in sat/vByte. (default 2 sat/vByte)"`
3131
}
3232

0 commit comments

Comments
 (0)