fixup! onchain message should be ONCHAIN: not FUNDING_SPEND_SEEN

This commit is contained in:
Rusty Russell 2018-02-23 20:10:50 +10:30 committed by Christian Decker
parent 309dc96f97
commit 5de6a3cf12

View File

@ -1053,8 +1053,9 @@ static void wait_for_resolved(struct tracked_output **outs)
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)));
peer_billboard(true, what);
}
static void handle_mutual_close(const struct bitcoin_txid *txid,