From: Jeffrey Czyz Date: Fri, 11 Jun 2021 20:30:05 +0000 (-0700) Subject: Remove outdated comment on payment secret X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=d4c70ceb983876b55fc2ded283f5a3e38f1c5a41;p=ldk-sample Remove outdated comment on payment secret --- diff --git a/src/cli.rs b/src/cli.rs index 02713a5..be6c80c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -608,9 +608,6 @@ fn get_invoice( payment_hash, PaymentInfo { preimage: None, - // We can't add payment secrets to invoices until we support features in invoices. - // Otherwise lnd errors with "destination hop doesn't understand payment addresses" - // (for context, lnd calls payment secrets "payment addresses"). secret: invoice.payment_secret().cloned(), status: HTLCStatus::Pending, amt_msat: MillisatAmount(Some(amt_msat)),