File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1028,16 +1028,16 @@ pub enum Amount {
10281028 /// The amount in millisatoshi.
10291029 amount_msats : u64 ,
10301030 } ,
1031- /// An amount of currency specified using ISO 4712 .
1031+ /// An amount of currency specified using ISO 4217 .
10321032 Currency {
10331033 /// The currency that the amount is denominated in.
10341034 iso4217_code : CurrencyCode ,
1035- /// The amount in the currency unit adjusted by the ISO 4712 exponent (e.g., USD cents).
1035+ /// The amount in the currency unit adjusted by the ISO 4217 exponent (e.g., USD cents).
10361036 amount : u64 ,
10371037 } ,
10381038}
10391039
1040- /// An ISO 4712 three-letter currency code (e.g., USD).
1040+ /// An ISO 4217 three-letter currency code (e.g., USD).
10411041pub type CurrencyCode = [ u8 ; 3 ] ;
10421042
10431043/// Quantity of items supported by an [`Offer`].
Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ macro_rules! impl_array {
664664 ) ;
665665}
666666
667- impl_array ! ( 3 , u8 ) ; // for rgb, ISO 4712 code
667+ impl_array ! ( 3 , u8 ) ; // for rgb, ISO 4217 code
668668impl_array ! ( 4 , u8 ) ; // for IPv4
669669impl_array ! ( 12 , u8 ) ; // for OnionV2
670670impl_array ! ( 16 , u8 ) ; // for IPv6
You can’t perform that action at this time.
0 commit comments