diff --git a/routing/router_test.go b/routing/router_test.go index 8bfebe826..7a62754e7 100644 --- a/routing/router_test.go +++ b/routing/router_test.go @@ -421,9 +421,10 @@ func TestChannelUpdateValidation(t *testing.T) { }, } - route := &Route{ - Hops: hops, - } + route := NewRouteFromHops( + lnwire.MilliSatoshi(10000), 100, + NewVertex(ctx.aliases["a"]), hops, + ) // Set up a channel update message with an invalid signature to be // returned to the sender.