X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fln%2Fmsgs.rs;h=5b3d57aae0273c90aad5c4c990a1019e818e9bab;hb=1479b3875938974986eba15391fa2ca33bfdf1b2;hp=7513aa79711da888796c5090bc35fe435773b45e;hpb=b2a855b57ace202243a3fd410b94e1e09f22a502;p=rust-lightning diff --git a/src/ln/msgs.rs b/src/ln/msgs.rs index 7513aa79..5b3d57aa 100644 --- a/src/ln/msgs.rs +++ b/src/ln/msgs.rs @@ -224,6 +224,7 @@ pub struct FundingSigned { } /// A funding_locked message to be sent or received from a peer +#[derive(Clone)] pub struct FundingLocked { pub(crate) channel_id: [u8; 32], pub(crate) next_per_commitment_point: PublicKey, @@ -467,6 +468,7 @@ pub struct CommitmentUpdate { pub(crate) update_fulfill_htlcs: Vec, pub(crate) update_fail_htlcs: Vec, pub(crate) update_fail_malformed_htlcs: Vec, + pub(crate) update_fee: Option, pub(crate) commitment_signed: CommitmentSigned, }