mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
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.
This commit is contained in:
committed by
Rusty Russell
parent
af4ffe5fcd
commit
6e7cfcc76e
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user