mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Remove unused parameter allow_mistakes in init_feerange(..., bool allow_mistakes)
This commit is contained in:
parent
e28b646f4b
commit
e1f7428864
@ -351,8 +351,7 @@ struct feerange {
|
|||||||
|
|
||||||
static void init_feerange(struct feerange *feerange,
|
static void init_feerange(struct feerange *feerange,
|
||||||
u64 commitment_fee,
|
u64 commitment_fee,
|
||||||
const u64 offer[NUM_SIDES],
|
const u64 offer[NUM_SIDES])
|
||||||
bool allow_mistakes)
|
|
||||||
{
|
{
|
||||||
feerange->min = 0;
|
feerange->min = 0;
|
||||||
|
|
||||||
@ -528,7 +527,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Now we have first two points, we can init fee range. */
|
/* Now we have first two points, we can init fee range. */
|
||||||
init_feerange(&feerange, commitment_fee, offer, deprecated_api);
|
init_feerange(&feerange, commitment_fee, offer);
|
||||||
|
|
||||||
/* Now apply the one constraint from above (other is inside loop). */
|
/* Now apply the one constraint from above (other is inside loop). */
|
||||||
adjust_feerange(&cs, gossip_index, &channel_id, &feerange,
|
adjust_feerange(&cs, gossip_index, &channel_id, &feerange,
|
||||||
|
Loading…
Reference in New Issue
Block a user