Skip to content

Commit 66a8825

Browse files
committed
staticaddr: fix fsm logging
1 parent ef5f2fc commit 66a8825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staticaddr/loopin/fsm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func (f *FSM) Debugf(format string, args ...interface{}) {
343343
// Warnf logs a warning message with the loop-in swap hash.
344344
func (f *FSM) Warnf(format string, args ...interface{}) {
345345
if f.loopIn == nil {
346-
log.Warnf(format, args...)
346+
log.Infof(format, args...)
347347
return
348348
}
349349
log.Warnf(
@@ -355,7 +355,7 @@ func (f *FSM) Warnf(format string, args ...interface{}) {
355355
// Errorf logs an error message with the loop-in swap hash.
356356
func (f *FSM) Errorf(format string, args ...interface{}) {
357357
if f.loopIn == nil {
358-
log.Errorf(format, args...)
358+
log.Infof(format, args...)
359359
return
360360
}
361361
log.Errorf(

0 commit comments

Comments
 (0)