staticaddr: change min deposit confs from 3 to 6

This commit is contained in:
Slyghtning 2024-11-05 15:17:15 +01:00
parent 781d3a0cb4
commit e3e56ecc70
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
2 changed files with 2 additions and 2 deletions

View file

@ -484,7 +484,7 @@ func staticAddressLoopIn(ctx *cli.Context) error {
if len(depositList.FilteredDeposits) == 0 {
errString := fmt.Sprintf("no confirmed deposits available, "+
"deposits need at least %v confirmations",
deposit.DefaultConfTarget)
deposit.MinConfs)
return errors.New(errString)
}

View file

@ -26,7 +26,7 @@ const (
// MinConfs is the minimum number of confirmations we require for a
// deposit to be considered available for loop-ins, coop-spends and
// timeouts.
MinConfs = 3
MinConfs = 6
// MaxConfs is unset since we don't require a max number of
// confirmations for deposits.