channeld: use an enum side not a bool for funder/

This predated our handling of enums.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-07-04 10:15:28 +09:30
parent 7884343c15
commit 94a33a7d15
3 changed files with 6 additions and 6 deletions

View File

@@ -1201,7 +1201,7 @@ static bool peer_start_channeld(struct peer *peer,
&peer->channel_info->theirbase.delayed_payment,
&peer->channel_info->remote_per_commit,
&peer->channel_info->old_remote_per_commit,
peer->funder == LOCAL,
peer->funder,
cfg->fee_base,
cfg->fee_per_satoshi,
*peer->balance,