mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
queue_pkt_open: take bool for API.
No need to leak protobuf enum outside. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -10,7 +10,7 @@ struct bitcoin_signature;
|
||||
struct commit_info;
|
||||
|
||||
/* Send various kinds of packets */
|
||||
void queue_pkt_open(struct peer *peer, OpenChannel__AnchorOffer anchor);
|
||||
void queue_pkt_open(struct peer *peer, bool offer_anchor);
|
||||
void queue_pkt_anchor(struct peer *peer);
|
||||
void queue_pkt_open_commit_sig(struct peer *peer);
|
||||
void queue_pkt_open_complete(struct peer *peer);
|
||||
|
||||
Reference in New Issue
Block a user