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 @@ -1220,12 +1220,16 @@ impl RawBolt11Invoice {
12201220
12211221 /// Convert to HRP prefix and Fe32 encoded data part.
12221222 /// Can be used to transmit unsigned invoices for remote signing.
1223+ ///
1224+ /// This is not exported to bindings users as we don't currently support Fe32s
12231225 pub fn to_raw ( & self ) -> ( String , Vec < Fe32 > ) {
12241226 ( self . hrp . to_string ( ) , self . data . fe_iter ( ) . collect ( ) )
12251227 }
12261228
12271229 /// Convert from HRP prefix and Fe32 encoded data part.
12281230 /// Can be used to receive unsigned invoices for remote signing.
1231+ ///
1232+ /// This is not exported to bindings users as we don't currently support Fe32s
12291233 pub fn from_raw ( hrp : & str , data : & [ Fe32 ] ) -> Result < Self , Bolt11ParseError > {
12301234 let raw_hrp: RawHrp = RawHrp :: from_str ( hrp) ?;
12311235 let data_part = RawDataPart :: from_base32 ( data) ?;
You can’t perform that action at this time.
0 commit comments