mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
common/dijkstra: hand channel direction to path_score callback.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
e733fdf62e
commit
0b3c79b3c2
@@ -48,6 +48,7 @@ struct exclude_entry {
|
||||
static u64 route_score_fuzz(u32 distance,
|
||||
struct amount_msat cost,
|
||||
struct amount_msat risk,
|
||||
int dir UNUSED,
|
||||
const struct gossmap_chan *c)
|
||||
{
|
||||
u64 costs = cost.millisatoshis + risk.millisatoshis; /* Raw: score */
|
||||
|
||||
Reference in New Issue
Block a user