Remove unused parameter allow_mistakes in init_feerange(..., bool allow_mistakes)

This commit is contained in:
practicalswift 2018-02-21 16:46:07 +01:00 committed by Christian Decker
parent e28b646f4b
commit e1f7428864

View File

@ -351,8 +351,7 @@ struct feerange {
static void init_feerange(struct feerange *feerange,
u64 commitment_fee,
const u64 offer[NUM_SIDES],
bool allow_mistakes)
const u64 offer[NUM_SIDES])
{
feerange->min = 0;
@ -528,7 +527,7 @@ int main(int argc, char *argv[])
}
/* 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). */
adjust_feerange(&cs, gossip_index, &channel_id, &feerange,