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

+1 -1
View File
@@ -1924,7 +1924,7 @@ func TestMultiHopPaymentForwardingEvents(t *testing.T) {
// After sending 5 of the payments, trigger the forwarding ticker, to
// make sure the events are properly flushed.
bobTicker, ok := n.bobServer.htlcSwitch.cfg.FwdEventTicker.(*ticker.Mock)
bobTicker, ok := n.bobServer.htlcSwitch.cfg.FwdEventTicker.(*ticker.Force)
if !ok {
t.Fatalf("mockTicker assertion failed")
}