htlcswitch: thread clock from switch to mailbox
This commit is contained in:
5 files changed
+55
-4
No files matched your search
@@ -177,6 +177,8 @@ func initSwitchWithDB(startingHeight uint32, db *channeldb.DB) (*Switch, error)
|
||||
LogEventTicker: ticker.NewForce(DefaultLogInterval),
|
||||
AckEventTicker: ticker.NewForce(DefaultAckInterval),
|
||||
HtlcNotifier: &mockHTLCNotifier{},
|
||||
Clock: clock.NewDefaultClock(),
|
||||
HTLCExpiry: time.Hour,
|
||||
}
|
||||
|
||||
return New(cfg, startingHeight)
|
||||
|
||||
Reference in new issue
Block a user