projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934a534
)
Fix variable name typo
2023-03-payment-metadata
author
Matt Corallo
<git@bluematt.me>
Mon, 17 Apr 2023 14:54:32 +0000
(14:54 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 19 Apr 2023 14:55:48 +0000
(14:55 +0000)
lightning-invoice/src/lib.rs
patch
|
blob
|
history
diff --git
a/lightning-invoice/src/lib.rs
b/lightning-invoice/src/lib.rs
index 8177e835a1e86d13f1129f142f7a401c1d2dddac..f1d3d973acf00e3ebbb0fa4e5d376b2f3c59c56c 100644
(file)
--- a/
lightning-invoice/src/lib.rs
+++ b/
lightning-invoice/src/lib.rs
@@
-495,9
+495,9
@@
pub mod constants {
impl InvoiceBuilder<tb::False, tb::False, tb::False, tb::False, tb::False, tb::False> {
/// Construct new, empty `InvoiceBuilder`. All necessary fields have to be filled first before
/// `InvoiceBuilder::build(self)` becomes available.
- pub fn new(curr
r
ency: Currency) -> Self {
+ pub fn new(currency: Currency) -> Self {
InvoiceBuilder {
- currency
: currrency
,
+ currency,
amount: None,
si_prefix: None,
timestamp: None,