mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
fixup! onchain message should be ONCHAIN: not FUNDING_SPEND_SEEN
This commit is contained in:
committed by
Christian Decker
parent
309dc96f97
commit
5de6a3cf12
@@ -1053,8 +1053,9 @@ static void wait_for_resolved(struct tracked_output **outs)
|
|||||||
|
|
||||||
static void init_reply(const char *what)
|
static void init_reply(const char *what)
|
||||||
{
|
{
|
||||||
peer_billboard(true, what);
|
/* Send init_reply first, so billboard gets credited to ONCHAIND */
|
||||||
wire_sync_write(REQ_FD, take(towire_onchain_init_reply(NULL)));
|
wire_sync_write(REQ_FD, take(towire_onchain_init_reply(NULL)));
|
||||||
|
peer_billboard(true, what);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handle_mutual_close(const struct bitcoin_txid *txid,
|
static void handle_mutual_close(const struct bitcoin_txid *txid,
|
||||||
|
|||||||
Reference in New Issue
Block a user