lightningd: don't reject attempts to forward 2^32 msat out of hand.

The outgoing channeld still does that, for now, but that will change.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-08-29 12:55:48 +09:30
parent ebb0b5791e
commit 2770bcb158

View File

@ -735,14 +735,6 @@ static void forward_htlc(struct htlc_in *hin,
goto fail;
}
if (amount_msat_greater(amt_to_forward,
chainparams->max_payment)) {
/* ENOWUMBO! */
needs_update_appended = false;
failmsg = towire_required_channel_feature_missing(tmpctx);
goto fail;
}
/* BOLT #2:
*
* An offering node: