mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-21 14:22:46 +02:00
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{
|
route := NewRouteFromHops(
|
||||||
Hops: hops,
|
lnwire.MilliSatoshi(10000), 100,
|
||||||
}
|
NewVertex(ctx.aliases["a"]), hops,
|
||||||
|
)
|
||||||
|
|
||||||
// Set up a channel update message with an invalid signature to be
|
// Set up a channel update message with an invalid signature to be
|
||||||
// returned to the sender.
|
// returned to the sender.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user