ticker+htlcswitch: rename Mock -> Force

This commit is contained in:
Wilmer Paulino
2019-02-06 16:48:54 -08:00
parent faccccf93f
commit abdd01ed9a
7 changed files with 25 additions and 22 deletions

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")
}