From 1b51b5ae0fc4791a6d87780907def1ae520a0327 Mon Sep 17 00:00:00 2001
From: practicalswift <practicalswift@users.noreply.github.com>
Date: Wed, 21 Feb 2018 16:58:03 +0100
Subject: [PATCH] Remove unused parameter topo in txw_fire(struct
 chain_topology *topo, ...)

---
 lightningd/watch.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lightningd/watch.c b/lightningd/watch.c
index a1e599eed..e83772f78 100644
--- a/lightningd/watch.c
+++ b/lightningd/watch.c
@@ -205,8 +205,7 @@ struct txowatch *watch_txo(const tal_t *ctx,
 }
 
 /* Returns true if we fired a callback */
-static bool txw_fire(struct chain_topology *topo,
-		     struct txwatch *txw,
+static bool txw_fire(struct txwatch *txw,
 		     const struct bitcoin_tx *tx,
 		     unsigned int depth)
 {
@@ -287,7 +286,7 @@ again:
 
 		depth = get_tx_depth(topo, &w->txid, &tx);
 		if (depth)
-			needs_rerun |= txw_fire(topo, w, tx, depth);
+			needs_rerun |= txw_fire(w, tx, depth);
 	}
 	if (needs_rerun)
 		goto again;