From 6e7cfcc76edcb9eff60c5e8636337a8e3404f909 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Tue, 8 Oct 2019 11:07:44 -0500 Subject: [PATCH] walletrpc: explicitly note we discard utx on unsuccessful broadcast If we can't broadcast the transaction, you're going to have to start over regardless. It's a tal child of cmd, which we free here. --- wallet/walletrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/walletrpc.c b/wallet/walletrpc.c index c8a2a8ae7..8a9cbba95 100644 --- a/wallet/walletrpc.c +++ b/wallet/walletrpc.c @@ -68,7 +68,7 @@ static void wallet_withdrawal_broadcast(struct bitcoind *bitcoind UNUSED, was_pending(command_success(cmd, response)); } else { was_pending(command_fail(cmd, LIGHTNINGD, - "Error broadcasting transaction: %s", + "Error broadcasting transaction: %s. Unsent tx discarded", output)); } }