routing: use complete route in test
Previously not all route fields were properly populated. Example: prev and next hop maps.
This commit is contained in:
parent
71037969b7
commit
ac04729cff
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user