mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 14:44:16 +01:00
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:
parent
ebb0b5791e
commit
2770bcb158
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user