Skip to content

Commit 2770bcb

Browse files
committed
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 <[email protected]>
1 parent ebb0b57 commit 2770bcb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lightningd/peer_htlcs.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -735,14 +735,6 @@ static void forward_htlc(struct htlc_in *hin,
735735
goto fail;
736736
}
737737

738-
if (amount_msat_greater(amt_to_forward,
739-
chainparams->max_payment)) {
740-
/* ENOWUMBO! */
741-
needs_update_appended = false;
742-
failmsg = towire_required_channel_feature_missing(tmpctx);
743-
goto fail;
744-
}
745-
746738
/* BOLT #2:
747739
*
748740
* An offering node:

0 commit comments

Comments
 (0)