File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1196,12 +1196,16 @@ impl RawBolt11Invoice {
11961196
11971197 /// Convert to HRP prefix and Fe32 encoded data part.
11981198 /// Can be used to transmit unsigned invoices for remote signing.
1199+ ///
1200+ /// This is not exported to bindings users as we don't currently support Fe32s
11991201 pub fn to_raw ( & self ) -> ( String , Vec < Fe32 > ) {
12001202 ( self . hrp . to_string ( ) , self . data . fe_iter ( ) . collect ( ) )
12011203 }
12021204
12031205 /// Convert from HRP prefix and Fe32 encoded data part.
12041206 /// Can be used to receive unsigned invoices for remote signing.
1207+ ///
1208+ /// This is not exported to bindings users as we don't currently support Fe32s
12051209 pub fn from_raw ( hrp : & str , data : & [ Fe32 ] ) -> Result < Self , Bolt11ParseError > {
12061210 let raw_hrp: RawHrp = RawHrp :: from_str ( hrp) ?;
12071211 let data_part = RawDataPart :: from_base32 ( data) ?;
You can’t perform that action at this time.
0 commit comments