Skip to content

Commit 48a24cd

Browse files
arowserrustyrussell
authored andcommitted
closingd: Fix buffer overread build error with some cross build
1 parent 9708ee3 commit 48a24cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

closingd/closingd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static u8 *closing_read_peer_msg(const tal_t *ctx,
127127
static void send_offer(struct per_peer_state *pps,
128128
const struct chainparams *chainparams,
129129
const struct channel_id *channel_id,
130-
const struct pubkey funding_pubkey[NUM_SIDES],
130+
const struct pubkey *funding_pubkey,
131131
const u8 *funding_wscript,
132132
u32 *local_wallet_index,
133133
const struct ext_key *local_wallet_ext_key,
@@ -226,7 +226,7 @@ static struct amount_sat
226226
receive_offer(struct per_peer_state *pps,
227227
const struct chainparams *chainparams,
228228
const struct channel_id *channel_id,
229-
const struct pubkey funding_pubkey[NUM_SIDES],
229+
const struct pubkey *funding_pubkey,
230230
const u8 *funding_wscript,
231231
u32 *local_wallet_index,
232232
const struct ext_key *local_wallet_ext_key,

0 commit comments

Comments
 (0)