From dc25e3a6dfca3b8dc353660247896765c6f6d919 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Thu, 29 Mar 2018 09:09:08 +0200 Subject: [PATCH] Make compiler happy --- hsmd/hsm.c | 2 +- openingd/opening.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hsmd/hsm.c b/hsmd/hsm.c index f9fee7cd9..dc5845356 100644 --- a/hsmd/hsm.c +++ b/hsmd/hsm.c @@ -610,7 +610,7 @@ static void sign_funding_tx(struct daemon_conn *master, const u8 *msg) struct bitcoin_tx *tx; u16 outnum; size_t i; - const struct pubkey *changekey; + struct pubkey *changekey; u8 **scriptSigs; /* FIXME: Check fee is "reasonable" */ diff --git a/openingd/opening.c b/openingd/opening.c index b7b5d144b..03b427388 100644 --- a/openingd/opening.c +++ b/openingd/opening.c @@ -215,7 +215,7 @@ static u8 *funder_channel(struct state *state, struct bitcoin_tx *tx; struct basepoints theirs; struct pubkey their_funding_pubkey; - const struct pubkey *changekey; + struct pubkey *changekey; secp256k1_ecdsa_signature sig; u32 minimum_depth; const u8 *wscript;