mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-02 18:35:00 +01:00
openingd: small formatting cleanups
This commit is contained in:
parent
c6338573d6
commit
3458ee2a6e
1 changed files with 5 additions and 5 deletions
|
@ -630,14 +630,14 @@ static u8 *funder_channel_start(struct state *state,
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool funder_finalize_channel_setup(struct state *state,
|
static bool funder_finalize_channel_setup(struct state *state,
|
||||||
struct amount_msat local_msat,
|
struct amount_msat local_msat,
|
||||||
struct bitcoin_signature *sig,
|
struct bitcoin_signature *sig,
|
||||||
struct bitcoin_tx **tx)
|
struct bitcoin_tx **tx)
|
||||||
{
|
{
|
||||||
u8 *msg;
|
u8 *msg;
|
||||||
struct channel_id id_in;
|
struct channel_id id_in;
|
||||||
const u8 *wscript;
|
const u8 *wscript;
|
||||||
char* err_reason;
|
char *err_reason;
|
||||||
|
|
||||||
/*~ Now we can initialize the `struct channel`. This represents
|
/*~ Now we can initialize the `struct channel`. This represents
|
||||||
* the current channel state and is how we can generate the current
|
* the current channel state and is how we can generate the current
|
||||||
|
@ -662,7 +662,7 @@ static bool funder_finalize_channel_setup(struct state *state,
|
||||||
&state->our_funding_pubkey,
|
&state->our_funding_pubkey,
|
||||||
&state->their_funding_pubkey,
|
&state->their_funding_pubkey,
|
||||||
state->option_static_remotekey,
|
state->option_static_remotekey,
|
||||||
/* Funder is local */
|
/* Opener is local */
|
||||||
LOCAL);
|
LOCAL);
|
||||||
/* We were supposed to do enough checks above, but just in case,
|
/* We were supposed to do enough checks above, but just in case,
|
||||||
* new_initial_channel will fail to create absurd channels */
|
* new_initial_channel will fail to create absurd channels */
|
||||||
|
|
Loading…
Add table
Reference in a new issue