X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-sample;a=blobdiff_plain;f=src%2Fcli.rs;h=be6c80cfb0386860325ee285a1a8e67affebbf80;hp=02713a55ad3e2d1f7eccc98d93db0d393558c412;hb=d4c70ceb983876b55fc2ded283f5a3e38f1c5a41;hpb=623b78f49351ba4d4e15b27745d10db845309759 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)),