Skip to content

Commit 44092a7

Browse files
authored
Merge pull request #846 from hieblmi/static-fixes
staticaddr: Minor staging fixes
2 parents ec3070f + ed242f7 commit 44092a7

File tree

9 files changed

+2448
-2331
lines changed

9 files changed

+2448
-2331
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.

staticaddr/loopin/fsm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func (f *FSM) Infof(format string, args ...interface{}) {
331331
// Debugf logs a debug message with the loop-in swap hash.
332332
func (f *FSM) Debugf(format string, args ...interface{}) {
333333
if f.loopIn == nil {
334-
log.Infof(format, args...)
334+
log.Debugf(format, args...)
335335
return
336336
}
337337
log.Debugf(

0 commit comments

Comments
 (0)