closingd: Fix buffer overread build error with some cross build

This commit is contained in:
arowser 2024-11-16 22:40:20 +08:00 committed by Rusty Russell
parent 9708ee3166
commit 48a24cd51b

View File

@ -127,7 +127,7 @@ static u8 *closing_read_peer_msg(const tal_t *ctx,
static void send_offer(struct per_peer_state *pps,
const struct chainparams *chainparams,
const struct channel_id *channel_id,
const struct pubkey funding_pubkey[NUM_SIDES],
const struct pubkey *funding_pubkey,
const u8 *funding_wscript,
u32 *local_wallet_index,
const struct ext_key *local_wallet_ext_key,
@ -226,7 +226,7 @@ static struct amount_sat
receive_offer(struct per_peer_state *pps,
const struct chainparams *chainparams,
const struct channel_id *channel_id,
const struct pubkey funding_pubkey[NUM_SIDES],
const struct pubkey *funding_pubkey,
const u8 *funding_wscript,
u32 *local_wallet_index,
const struct ext_key *local_wallet_ext_key,