Skip to content

Commit e3e56ec

Browse files
committed
staticaddr: change min deposit confs from 3 to 6
1 parent 781d3a0 commit e3e56ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/loop/staticaddr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func staticAddressLoopIn(ctx *cli.Context) error {
484484
if len(depositList.FilteredDeposits) == 0 {
485485
errString := fmt.Sprintf("no confirmed deposits available, "+
486486
"deposits need at least %v confirmations",
487-
deposit.DefaultConfTarget)
487+
deposit.MinConfs)
488488

489489
return errors.New(errString)
490490
}

staticaddr/deposit/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const (
2626
// MinConfs is the minimum number of confirmations we require for a
2727
// deposit to be considered available for loop-ins, coop-spends and
2828
// timeouts.
29-
MinConfs = 3
29+
MinConfs = 6
3030

3131
// MaxConfs is unset since we don't require a max number of
3232
// confirmations for deposits.

0 commit comments

Comments
 (0)