routing: use absolute final expiry in pathfinding
This commit is contained in:
7 files changed
+48
-37
No files matched your search
@@ -15,8 +15,8 @@ func TestRequestRoute(t *testing.T) {
|
||||
|
||||
findPath := func(g *graphParams, r *RestrictParams,
|
||||
cfg *PathFindingConfig, source, target route.Vertex,
|
||||
amt lnwire.MilliSatoshi) ([]*channeldb.ChannelEdgePolicy,
|
||||
error) {
|
||||
amt lnwire.MilliSatoshi, finalHtlcExpiry int32) (
|
||||
[]*channeldb.ChannelEdgePolicy, error) {
|
||||
|
||||
// We expect find path to receive a cltv limit excluding the
|
||||
// final cltv delta (including the block padding).
|
||||
|
||||
Reference in new issue
Block a user