mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
am_opener unused
This commit is contained in:
parent
ffb3217ea8
commit
e0a48c2aa7
4 changed files with 1 additions and 8 deletions
|
@ -19,7 +19,6 @@ bool check_config_bounds(const tal_t *ctx,
|
|||
struct amount_msat min_effective_htlc_capacity,
|
||||
const struct channel_config *remoteconf,
|
||||
const struct channel_config *localconf,
|
||||
bool am_opener,
|
||||
bool option_anchor_outputs,
|
||||
char **err_reason)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,6 @@ bool check_config_bounds(const tal_t *ctx,
|
|||
struct amount_msat min_effective_htlc_capacity,
|
||||
const struct channel_config *remoteconf,
|
||||
const struct channel_config *localconf,
|
||||
bool am_opener,
|
||||
bool option_anchor_outputs,
|
||||
char **err_reason);
|
||||
|
||||
|
|
|
@ -2260,7 +2260,6 @@ static void accepter_start(struct state *state, const u8 *oc2_msg)
|
|||
state->min_effective_htlc_capacity,
|
||||
&tx_state->remoteconf,
|
||||
&tx_state->localconf,
|
||||
false,
|
||||
true, /* v2 means we use anchor outputs */
|
||||
&err_reason)) {
|
||||
negotiation_failed(state, "%s", err_reason);
|
||||
|
@ -2966,7 +2965,7 @@ static void opener_start(struct state *state, u8 *msg)
|
|||
state->min_effective_htlc_capacity,
|
||||
&tx_state->remoteconf,
|
||||
&tx_state->localconf,
|
||||
true, true, /* v2 means we use anchor outputs */
|
||||
true, /* v2 means we use anchor outputs */
|
||||
&err_reason)) {
|
||||
negotiation_failed(state, "%s", err_reason);
|
||||
return;
|
||||
|
@ -3217,7 +3216,6 @@ static void rbf_local_start(struct state *state, u8 *msg)
|
|||
state->min_effective_htlc_capacity,
|
||||
&tx_state->remoteconf,
|
||||
&tx_state->localconf,
|
||||
false,
|
||||
true, /* v2 means we use anchor outputs */
|
||||
&err_reason)) {
|
||||
open_err_warn(state, "%s", err_reason);
|
||||
|
@ -3354,7 +3352,6 @@ static void rbf_remote_start(struct state *state, const u8 *rbf_msg)
|
|||
state->min_effective_htlc_capacity,
|
||||
&tx_state->remoteconf,
|
||||
&tx_state->localconf,
|
||||
false,
|
||||
true, /* v2 means we use anchor outputs */
|
||||
&err_reason)) {
|
||||
open_err_warn(state, "%s", err_reason);
|
||||
|
|
|
@ -458,7 +458,6 @@ static u8 *funder_channel_start(struct state *state, u8 channel_flags)
|
|||
state->min_effective_htlc_capacity,
|
||||
&state->remoteconf,
|
||||
&state->localconf,
|
||||
true,
|
||||
feature_negotiated(state->our_features,
|
||||
state->their_features,
|
||||
OPT_ANCHOR_OUTPUTS),
|
||||
|
@ -974,7 +973,6 @@ static u8 *fundee_channel(struct state *state, const u8 *open_channel_msg)
|
|||
state->min_effective_htlc_capacity,
|
||||
&state->remoteconf,
|
||||
&state->localconf,
|
||||
false,
|
||||
feature_negotiated(state->our_features,
|
||||
state->their_features,
|
||||
OPT_ANCHOR_OUTPUTS),
|
||||
|
|
Loading…
Add table
Reference in a new issue