Skip to content

Commit

Permalink
Remove unused send_offer(...) parameter: const u8 *funding_wscript
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift authored and rustyrussell committed Aug 1, 2018
1 parent 6195839 commit 2627d0c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions closingd/closing.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ static void do_reconnect(struct crypto_state *cs,
static void send_offer(struct crypto_state *cs,
const struct channel_id *channel_id,
const struct pubkey funding_pubkey[NUM_SIDES],
const u8 *funding_wscript,
u8 *scriptpubkey[NUM_SIDES],
const struct bitcoin_txid *funding_txid,
unsigned int funding_txout,
Expand Down Expand Up @@ -487,7 +486,6 @@ int main(int argc, char *argv[])
if (whose_turn == LOCAL) {
send_offer(&cs,
&channel_id, funding_pubkey,
funding_wscript,
scriptpubkey, &funding_txid, funding_txout,
funding_satoshi, satoshi_out, funder,
our_dust_limit,
Expand Down Expand Up @@ -533,7 +531,6 @@ int main(int argc, char *argv[])
min_fee_to_accept);
send_offer(&cs, &channel_id,
funding_pubkey,
funding_wscript,
scriptpubkey, &funding_txid, funding_txout,
funding_satoshi, satoshi_out, funder,
our_dust_limit,
Expand Down

0 comments on commit 2627d0c

Please sign in to comment.