gossmods_from_listpeerchannels: use correct type for cltv_delta.

Doesn't matter now, but will with the next change where we want to
pass a pointer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-10-04 09:01:53 +09:30
parent fcc0d2bad8
commit 3253623785
7 changed files with 12 additions and 12 deletions

View file

@ -14,7 +14,7 @@ void gossmod_add_localchan(struct gossmap_localmods *mods,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf UNUSED,
const jsmntok_t *chantok UNUSED,
@ -51,7 +51,7 @@ gossmods_from_listpeerchannels_(const tal_t *ctx,
struct amount_msat sr_able,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf,
const jsmntok_t *chantok,

View file

@ -35,7 +35,7 @@ struct gossmap_localmods *gossmods_from_listpeerchannels_(const tal_t *ctx,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf_,
const jsmntok_t *chantok,
@ -54,7 +54,7 @@ struct gossmap_localmods *gossmods_from_listpeerchannels_(const tal_t *ctx,
struct amount_msat, \
struct amount_msat, \
u32, \
u32, \
u16, \
bool, \
const char *, \
const jsmntok_t *), \
@ -70,7 +70,7 @@ void gossmod_add_localchan(struct gossmap_localmods *mods,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf UNUSED,
const jsmntok_t *chantok UNUSED,

View file

@ -559,7 +559,7 @@ static void add_localchan(struct gossmap_localmods *mods,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf,
const jsmntok_t *chantok,

View file

@ -389,7 +389,7 @@ static void gossmod_cb(struct gossmap_localmods *mods,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf,
const jsmntok_t *chantok,

View file

@ -47,7 +47,7 @@ void gossmod_add_localchan(struct gossmap_localmods *mods UNNEEDED,
struct amount_msat spendable UNNEEDED,
struct amount_msat fee_base UNNEEDED,
u32 fee_proportional UNNEEDED,
u32 cltv_delta UNNEEDED,
u16 cltv_delta UNNEEDED,
bool enabled UNNEEDED,
const char *buf UNUSED UNNEEDED,
const jsmntok_t *chantok UNUSED UNNEEDED,
@ -68,7 +68,7 @@ struct gossmap_localmods *gossmods_from_listpeerchannels_(const tal_t *ctx UNNEE
struct amount_msat spendable UNNEEDED,
struct amount_msat fee_base UNNEEDED,
u32 fee_proportional UNNEEDED,
u32 cltv_delta UNNEEDED,
u16 cltv_delta UNNEEDED,
bool enabled UNNEEDED,
const char *buf_ UNNEEDED,
const jsmntok_t *chantok UNNEEDED,

View file

@ -44,7 +44,7 @@ void gossmod_add_localchan(struct gossmap_localmods *mods UNNEEDED,
struct amount_msat spendable UNNEEDED,
struct amount_msat fee_base UNNEEDED,
u32 fee_proportional UNNEEDED,
u32 cltv_delta UNNEEDED,
u16 cltv_delta UNNEEDED,
bool enabled UNNEEDED,
const char *buf UNUSED UNNEEDED,
const jsmntok_t *chantok UNUSED UNNEEDED,
@ -65,7 +65,7 @@ struct gossmap_localmods *gossmods_from_listpeerchannels_(const tal_t *ctx UNNEE
struct amount_msat spendable UNNEEDED,
struct amount_msat fee_base UNNEEDED,
u32 fee_proportional UNNEEDED,
u32 cltv_delta UNNEEDED,
u16 cltv_delta UNNEEDED,
bool enabled UNNEEDED,
const char *buf_ UNNEEDED,
const jsmntok_t *chantok UNNEEDED,

View file

@ -367,7 +367,7 @@ static void gossmod_add_unknown_localchan(struct gossmap_localmods *mods,
struct amount_msat spendable,
struct amount_msat fee_base,
u32 fee_proportional,
u32 cltv_delta,
u16 cltv_delta,
bool enabled,
const char *buf UNUSED,
const jsmntok_t *chantok UNUSED,