From 83f77bfbe5c3ab1e5b2927e7848de9854da8b8f9 Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 16 Dec 2019 10:01:03 +0900 Subject: [PATCH] #711 don't allow a "fee" for the final node. > For the final node, this value MUST be exactly equal to the incoming htlc amount, otherwise the HTLC should be rejected. --- 04-onion-routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-onion-routing.md b/04-onion-routing.md index c8609db95..8cb2625ce 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -1076,7 +1076,7 @@ An _intermediate hop_ MUST NOT, but the _final node_: - if the `outgoing_cltv_value` does NOT correspond with the `cltv_expiry` from the final node's HTLC: - MUST return `final_incorrect_cltv_expiry` error. - - if the `amt_to_forward` is greater than the `incoming_htlc_amt` from the + - if the `amt_to_forward` does NOT correspond with the `incoming_htlc_amt` from the final node's HTLC: - MUST return a `final_incorrect_htlc_amount` error.