mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
common: add const to accepted_extra_tlvs arg.
It was tlv_fields_valid that wanted a non-const: now that's gone, we can make this correctly const. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
93caef3584
commit
7147fea2ff
3 changed files with 3 additions and 3 deletions
|
@ -201,7 +201,7 @@ struct onion_payload *onion_decode(const tal_t *ctx,
|
|||
const struct route_step *rs,
|
||||
const struct pubkey *blinding,
|
||||
const struct secret *blinding_ss,
|
||||
u64 *accepted_extra_tlvs,
|
||||
const u64 *accepted_extra_tlvs,
|
||||
u64 *failtlvtype,
|
||||
size_t *failtlvpos)
|
||||
{
|
||||
|
|
|
@ -69,7 +69,7 @@ struct onion_payload *onion_decode(const tal_t *ctx,
|
|||
const struct route_step *rs,
|
||||
const struct pubkey *blinding,
|
||||
const struct secret *blinding_ss,
|
||||
u64 *accepted_extra_tlvs,
|
||||
const u64 *accepted_extra_tlvs,
|
||||
u64 *failtlvtype,
|
||||
size_t *failtlvpos);
|
||||
|
||||
|
|
|
@ -536,7 +536,7 @@ struct onion_payload *onion_decode(const tal_t *ctx UNNEEDED,
|
|||
const struct route_step *rs UNNEEDED,
|
||||
const struct pubkey *blinding UNNEEDED,
|
||||
const struct secret *blinding_ss UNNEEDED,
|
||||
u64 *accepted_extra_tlvs UNNEEDED,
|
||||
const u64 *accepted_extra_tlvs UNNEEDED,
|
||||
u64 *failtlvtype UNNEEDED,
|
||||
size_t *failtlvpos UNNEEDED)
|
||||
{ fprintf(stderr, "onion_decode called!\n"); abort(); }
|
||||
|
|
Loading…
Add table
Reference in a new issue