File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1028,16 +1028,16 @@ pub enum Amount {
1028
1028
/// The amount in millisatoshi.
1029
1029
amount_msats : u64 ,
1030
1030
} ,
1031
- /// An amount of currency specified using ISO 4712 .
1031
+ /// An amount of currency specified using ISO 4217 .
1032
1032
Currency {
1033
1033
/// The currency that the amount is denominated in.
1034
1034
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).
1036
1036
amount : u64 ,
1037
1037
} ,
1038
1038
}
1039
1039
1040
- /// An ISO 4712 three-letter currency code (e.g., USD).
1040
+ /// An ISO 4217 three-letter currency code (e.g., USD).
1041
1041
pub type CurrencyCode = [ u8 ; 3 ] ;
1042
1042
1043
1043
/// 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 {
664
664
) ;
665
665
}
666
666
667
- impl_array ! ( 3 , u8 ) ; // for rgb, ISO 4712 code
667
+ impl_array ! ( 3 , u8 ) ; // for rgb, ISO 4217 code
668
668
impl_array ! ( 4 , u8 ) ; // for IPv4
669
669
impl_array ! ( 12 , u8 ) ; // for OnionV2
670
670
impl_array ! ( 16 , u8 ) ; // for IPv6
You can’t perform that action at this time.
0 commit comments