]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove outdated documentation of a panic
authorValentine Wallace <vwallace@protonmail.com>
Tue, 1 Aug 2023 21:07:51 +0000 (14:07 -0700)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 2 Aug 2023 19:54:34 +0000 (12:54 -0700)
lightning/src/ln/msgs.rs

index a514f4923268ce8639bafbb5065c43e6e1a7ea3d..cfee16033be236232392caef89d09b72967affdc 100644 (file)
@@ -1440,7 +1440,6 @@ mod fuzzy_internal_msgs {
        pub struct OnionHopData {
                pub(crate) format: OnionHopDataFormat,
                /// The value, in msat, of the payment after this hop's fee is deducted.
-               /// Message serialization may panic if this value is more than 21 million Bitcoin.
                pub(crate) amt_to_forward: u64,
                pub(crate) outgoing_cltv_value: u32,
        }