mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
pkt_open: use flag to indicate whether packet will offer anchor.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -564,7 +564,8 @@ static struct htlc *find_htlc_spend(const struct state_data *sdata,
|
||||
return (struct htlc *)h;
|
||||
}
|
||||
|
||||
Pkt *pkt_open(const tal_t *ctx, const struct state_data *sdata)
|
||||
Pkt *pkt_open(const tal_t *ctx, const struct state_data *sdata,
|
||||
OpenChannel__AnchorOffer anchor)
|
||||
{
|
||||
return new_pkt(ctx, PKT_OPEN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user