From 2770bcb158cfa1001f9b95de81f02a51e96f45bd Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 29 Aug 2021 12:55:48 +0930 Subject: [PATCH] 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 --- lightningd/peer_htlcs.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lightningd/peer_htlcs.c b/lightningd/peer_htlcs.c index 40663d170..b8718ba9e 100644 --- a/lightningd/peer_htlcs.c +++ b/lightningd/peer_htlcs.c @@ -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: