Skip to content

Commit

Permalink
fixup! onchain message should be ONCHAIN: not FUNDING_SPEND_SEEN
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyrussell authored and cdecker committed Feb 23, 2018
1 parent 309dc96 commit 5de6a3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onchaind/onchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5de6a3c

Please sign in to comment.