From 7dad639c498d964cd72bc30d61682a47abadcb7d Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 21 Feb 2018 16:33:05 +0100 Subject: [PATCH] Remove unused parameter msg in handle_funding_announce_depth(..., const u8 *msg) --- channeld/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channeld/channel.c b/channeld/channel.c index 471af118c..51750402e 100644 --- a/channeld/channel.c +++ b/channeld/channel.c @@ -1976,7 +1976,7 @@ static void handle_funding_locked(struct peer *peer, const u8 *msg) send_announcement_signatures(peer); } -static void handle_funding_announce_depth(struct peer *peer, const u8 *msg) +static void handle_funding_announce_depth(struct peer *peer) { peer->announce_depth_reached = true; send_announcement_signatures(peer); @@ -2360,7 +2360,7 @@ static void req_in(struct peer *peer, const u8 *msg) handle_funding_locked(peer, msg); return; case WIRE_CHANNEL_FUNDING_ANNOUNCE_DEPTH: - handle_funding_announce_depth(peer, msg); + handle_funding_announce_depth(peer); return; case WIRE_CHANNEL_OFFER_HTLC: handle_offer_htlc(peer, msg);