projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
d63006d
)
Merge pull request #2196 from wpaulino/ci-ignore-master-cancel-prev
author
Matt Corallo
<649246+TheBlueMatt@users.noreply.github.com>
Mon, 17 Apr 2023 21:54:55 +0000
(21:54 +0000)
committer
GitHub
<noreply@github.com>
Mon, 17 Apr 2023 21:54:55 +0000
(21:54 +0000)
Prevent unnecessary CI workflow runs
lightning-invoice/src/lib.rs
patch
|
blob
|
history
diff --git
a/lightning-invoice/src/lib.rs
b/lightning-invoice/src/lib.rs
index 8426db37c6481e03c16ea50f921d29634a47ec0b..94a93fe62b7f1d160c5f1dc0c89ba66b56bf34c1 100644
(file)
--- a/
lightning-invoice/src/lib.rs
+++ b/
lightning-invoice/src/lib.rs
@@
-1360,6
+1360,8
@@
impl Invoice {
}
/// Returns the network for which the invoice was issued
+ ///
+ /// This is not exported to bindings users, see [`Self::currency`] instead.
pub fn network(&self) -> Network {
self.signed_invoice.currency().into()
}