ticker+htlcswitch: rename Mock -> Force

This commit is contained in:
Wilmer Paulino committed 2019-02-12 16:05:24 -08:00
1 parent faccccf93f
commit abdd01ed9a
7 files changed
+25 -22

No files matched your search

+2 -2
View File
@@ -163,8 +163,8 @@ func initSwitchWithDB(startingHeight uint32, db *channeldb.DB) (*Switch, error)
return nil, nil
},
Notifier: &mockNotifier{},
FwdEventTicker: ticker.MockNew(DefaultFwdEventInterval),
LogEventTicker: ticker.MockNew(DefaultLogInterval),
FwdEventTicker: ticker.NewForce(DefaultFwdEventInterval),
LogEventTicker: ticker.NewForce(DefaultLogInterval),
NotifyActiveChannel: func(wire.OutPoint) {},
NotifyInactiveChannel: func(wire.OutPoint) {},
}