Browse Source

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.
travis-debug
lisa neigut 5 years ago
committed by Rusty Russell
parent
commit
6e7cfcc76e
  1. 2
      wallet/walletrpc.c

2
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));
}
}

Loading…
Cancel
Save