projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
623b78f
)
Remove outdated comment on payment secret
author
Jeffrey Czyz
<jkczyz@gmail.com>
Fri, 11 Jun 2021 20:30:05 +0000
(13:30 -0700)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Fri, 11 Jun 2021 20:48:34 +0000
(13:48 -0700)
src/cli.rs
patch
|
blob
|
history
diff --git
a/src/cli.rs
b/src/cli.rs
index 02713a55ad3e2d1f7eccc98d93db0d393558c412..be6c80cfb0386860325ee285a1a8e67affebbf80 100644
(file)
--- 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)),