From e381b33b215d6f7e3a1d3e5c0d673d576dd597ac Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 17 Jun 2021 20:21:48 +0800 Subject: [PATCH] lnwire: fix typo in docs --- lnwire/features.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwire/features.go b/lnwire/features.go index 9dfa07ee1..675ba0f50 100644 --- a/lnwire/features.go +++ b/lnwire/features.go @@ -91,7 +91,7 @@ const ( // attacks on the receiver of a payment. PaymentAddrOptional FeatureBit = 15 - // MPPOptional is a required feature bit that signals that the receiver + // MPPRequired is a required feature bit that signals that the receiver // of a payment requires settlement of an invoice with more than one // HTLC. MPPRequired FeatureBit = 16 @@ -124,7 +124,7 @@ const ( // transactions, which also imply anchor commitments. AnchorsZeroFeeHtlcTxRequired FeatureBit = 22 - // AnchorsZeroFeeHtlcTxRequired is an optional feature bit that signals + // AnchorsZeroFeeHtlcTxOptional is an optional feature bit that signals // that the node supports channels having zero-fee second-level HTLC // transactions, which also imply anchor commitments. AnchorsZeroFeeHtlcTxOptional FeatureBit = 23