openingd: update billboard with funding info

Make it easier for a user to know what's going on with
a channel in `listpeers`.
This commit is contained in:
lisa neigut 2019-05-23 16:42:57 -07:00 committed by Rusty Russell
parent 23e7846053
commit 6e5928aa1e
1 changed files with 4 additions and 0 deletions

View File

@ -610,6 +610,10 @@ static u8 *funder_channel_start(struct state *state,
&state->our_funding_pubkey,
&their_funding_pubkey));
/* Update the billboard with our infos */
peer_billboard(false,
"Funding channel start: awaiting funding_txid with output to %s",
tal_hex(tmpctx, funding_output_script));
return towire_opening_funder_start_reply(state, funding_output_script);
}