mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
ticker+htlcswitch: rename Mock -> Force
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user