|
|
@ -103,7 +103,7 @@ const char *wire_type_name(int e UNNEEDED) |
|
|
|
/* AUTOGENERATED MOCKS END */ |
|
|
|
|
|
|
|
/* Updates existing route if required. */ |
|
|
|
static struct half_chan *add_connection(struct routing_state *rstate, |
|
|
|
static void add_connection(struct routing_state *rstate, |
|
|
|
const struct pubkey *from, |
|
|
|
const struct pubkey *to, |
|
|
|
u32 base_fee, s32 proportional_fee, |
|
|
@ -128,7 +128,6 @@ static struct half_chan *add_connection(struct routing_state *rstate, |
|
|
|
c->proportional_fee = proportional_fee; |
|
|
|
c->delay = delay; |
|
|
|
c->flags = get_channel_direction(from, to); |
|
|
|
return c; |
|
|
|
} |
|
|
|
|
|
|
|
/* Returns chan connecting from and to: *idx set to refer
|
|
|
|