Skip to content

Commit bd25a81

Browse files
authored
Merge pull request #2195 from TheBlueMatt/2023-04-115-bindings-upstream
2 parents 1505089 + b709bb3 commit bd25a81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning-invoice/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,8 @@ impl Invoice {
13601360
}
13611361

13621362
/// Returns the network for which the invoice was issued
1363+
///
1364+
/// This is not exported to bindings users, see [`Self::currency`] instead.
13631365
pub fn network(&self) -> Network {
13641366
self.signed_invoice.currency().into()
13651367
}

0 commit comments

Comments
 (0)