test-cli: use OpenChannel__AnchorOffer instead of book for open_channel_pkt()

Clearer by being more explicit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:41:46 +10:30
parent 08367f8716
commit 2516a187bc
3 changed files with 10 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ struct pkt *open_channel_pkt(const tal_t *ctx,
const struct pubkey *commit,
const struct pubkey *final,
u32 rel_locktime_seconds,
bool offer_anchor,
OpenChannel__AnchorOffer offer_anchor,
u32 min_depth,
u64 commitment_fee);