projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed4665
)
Add a not-exported tag to the Display implementation for RawHrp
2021-04-invoice-real-bindings
author
Matt Corallo
<git@bluematt.me>
Fri, 30 Apr 2021 23:16:33 +0000
(23:16 +0000)
committer
Matt Corallo
<git@bluematt.me>
Sat, 1 May 2021 00:36:58 +0000
(
00:36
+0000)
RawHrp is already not-exported, so implementations for it should be
as well.
lightning-invoice/src/ser.rs
patch
|
blob
|
history
diff --git
a/lightning-invoice/src/ser.rs
b/lightning-invoice/src/ser.rs
index 6bc60d960ba437545f721d9437f765df36a108fe..8811926782348a263735b55824ea74fb65d662cb 100644
(file)
--- a/
lightning-invoice/src/ser.rs
+++ b/
lightning-invoice/src/ser.rs
@@
-123,6
+123,7
@@
impl Display for SignedRawInvoice {
}
}
+/// (C-not exported)
impl Display for RawHrp {
fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {
let amount = match self.raw_amount {