routing: pass custom records into pathfinding

This commit is contained in:
Joost Jager
2019-12-11 11:49:03 +01:00
parent d02de70d20
commit c37289cd94
2 changed files with 6 additions and 7 deletions

View File

@@ -224,8 +224,8 @@ func (r *RouterBackend) QueryRoutes(ctx context.Context,
fromNode, toNode, amt,
)
},
DestPayloadTLV: len(in.DestCustomRecords) != 0,
CltvLimit: cltvLimit,
DestCustomRecords: record.CustomSet(in.DestCustomRecords),
CltvLimit: cltvLimit,
}
// If we have any TLV records destined for the final hop, then we'll