diff --git a/openingd/common.c b/openingd/common.c index 493ee4472..92a0e9b22 100644 --- a/openingd/common.c +++ b/openingd/common.c @@ -180,26 +180,6 @@ bool check_config_bounds(const tal_t *ctx, return false; } -#ifndef ZERORESERVE - /* BOLT #2: - * - * The receiving node MUST fail the channel if: - *... - * - `dust_limit_satoshis` is greater than `channel_reserve_satoshis`. - */ - if (amount_sat_greater(remoteconf->dust_limit, - remoteconf->channel_reserve)) { - *err_reason = tal_fmt(ctx, - "dust_limit_satoshis %s" - " too large for channel_reserve_satoshis %s", - type_to_string(ctx, struct amount_sat, - &remoteconf->dust_limit), - type_to_string(ctx, struct amount_sat, - &remoteconf->channel_reserve)); - return false; - } -#endif - return true; }