diff --git a/lnrpc/routerrpc/router_backend_test.go b/lnrpc/routerrpc/router_backend_test.go index 452ebf26..bfe7a488 100644 --- a/lnrpc/routerrpc/router_backend_test.go +++ b/lnrpc/routerrpc/router_backend_test.go @@ -93,7 +93,7 @@ func TestQueryRoutes(t *testing.T) { t.Fatal("unexpected ignored node") } - hops := []*route.Hop{&route.Hop{}} + hops := []*route.Hop{{}} return route.NewRouteFromHops(amt, 144, source, hops) }