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:
Rusty Russell
2016-11-09 08:04:28 +10:30
parent 536a48940e
commit 7f0a56f674
3 changed files with 7 additions and 17 deletions

View File

@@ -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);