mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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:
@@ -735,14 +735,6 @@ static void forward_htlc(struct htlc_in *hin,
|
|||||||
goto fail;
|
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:
|
/* BOLT #2:
|
||||||
*
|
*
|
||||||
* An offering node:
|
* An offering node:
|
||||||
|
|||||||
Reference in New Issue
Block a user