Make compiler happy

This commit is contained in:
practicalswift 2018-03-29 09:09:08 +02:00 committed by Christian Decker
parent b45477b081
commit dc25e3a6df
2 changed files with 2 additions and 2 deletions

View File

@ -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" */

View File

@ -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;