From c859dcc76af8733ab37a27e32d0dd1ef59bbdb52 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 15 Dec 2020 16:58:28 +0100 Subject: [PATCH] sweeptimelock: bump default max CSV limit to 2016 --- cmd/chantools/sweeptimelock.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/chantools/sweeptimelock.go b/cmd/chantools/sweeptimelock.go index 7644688..529c163 100644 --- a/cmd/chantools/sweeptimelock.go +++ b/cmd/chantools/sweeptimelock.go @@ -19,14 +19,14 @@ import ( const ( defaultFeeSatPerVByte = 2 - defaultCsvLimit = 2000 + defaultCsvLimit = 2016 ) type sweepTimeLockCommand struct { RootKey string `long:"rootkey" description:"BIP32 HD root key to use. Leave empty to prompt for lnd 24 word aezeed."` Publish bool `long:"publish" description:"Should the sweep TX be published to the chain API?"` SweepAddr string `long:"sweepaddr" description:"The address the funds should be sweeped to."` - MaxCsvLimit int `long:"maxcsvlimit" description:"Maximum CSV limit to use. (default 2000)"` + MaxCsvLimit int `long:"maxcsvlimit" description:"Maximum CSV limit to use. (default 2016)"` FeeRate uint32 `long:"feerate" description:"The fee rate to use for the sweep transaction in sat/vByte. (default 2 sat/vByte)"` }