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 {
1196
1196
1197
1197
/// Convert to HRP prefix and Fe32 encoded data part.
1198
1198
/// 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
1199
1201
pub fn to_raw ( & self ) -> ( String , Vec < Fe32 > ) {
1200
1202
( self . hrp . to_string ( ) , self . data . fe_iter ( ) . collect ( ) )
1201
1203
}
1202
1204
1203
1205
/// Convert from HRP prefix and Fe32 encoded data part.
1204
1206
/// 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
1205
1209
pub fn from_raw ( hrp : & str , data : & [ Fe32 ] ) -> Result < Self , Bolt11ParseError > {
1206
1210
let raw_hrp: RawHrp = RawHrp :: from_str ( hrp) ?;
1207
1211
let data_part = RawDataPart :: from_base32 ( data) ?;
You can’t perform that action at this time.
0 commit comments