From 40b550a9d207728bcab1955cdae326e2d46b5989 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 26 May 2016 15:25:25 +0930 Subject: [PATCH] daemon: don't log bogus warning on failed anchors. We no longer get bitcoind to manage our transactions for us, so we don't need to -zapwallettxs when an anchor fails. Signed-off-by: Rusty Russell --- daemon/peer.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/daemon/peer.c b/daemon/peer.c index 8e3fe0cdd..ef15ad936 100644 --- a/daemon/peer.c +++ b/daemon/peer.c @@ -2100,13 +2100,10 @@ void bitcoin_create_anchor(struct peer *peer, enum state_input done) bitcoind_estimate_fee(peer->dstate, got_feerate, peer); } -/* We didn't end up broadcasting the anchor: release the utxos. - * If done != INPUT_NONE, remove existing create_anchor too. */ +/* We didn't end up broadcasting the anchor: we don't need to do anything + * to "release" TXOs, since we have our own internal wallet now. */ void bitcoin_release_anchor(struct peer *peer, enum state_input done) { - - /* FIXME: stop bitcoind command */ - log_unusual(peer->log, "Anchor not spent, please -zapwallettxs"); } /* Get the bitcoin anchor tx. */