@@ -481,12 +481,18 @@ pub struct HandleError { //TODO: rename me
481
481
/// transaction updates if they were pending.
482
482
#[ derive( PartialEq , Clone ) ]
483
483
pub struct CommitmentUpdate {
484
- pub ( crate ) update_add_htlcs : Vec < UpdateAddHTLC > ,
485
- pub ( crate ) update_fulfill_htlcs : Vec < UpdateFulfillHTLC > ,
486
- pub ( crate ) update_fail_htlcs : Vec < UpdateFailHTLC > ,
487
- pub ( crate ) update_fail_malformed_htlcs : Vec < UpdateFailMalformedHTLC > ,
488
- pub ( crate ) update_fee : Option < UpdateFee > ,
489
- pub ( crate ) commitment_signed : CommitmentSigned ,
484
+ /// update_add_htlc messages which should be sent
485
+ pub update_add_htlcs : Vec < UpdateAddHTLC > ,
486
+ /// update_fulfill_htlc messages which should be sent
487
+ pub update_fulfill_htlcs : Vec < UpdateFulfillHTLC > ,
488
+ /// update_fail_htlc messages which should be sent
489
+ pub update_fail_htlcs : Vec < UpdateFailHTLC > ,
490
+ /// update_fail_malformed_htlc messages which should be sent
491
+ pub update_fail_malformed_htlcs : Vec < UpdateFailMalformedHTLC > ,
492
+ /// An update_fee message which should be sent
493
+ pub update_fee : Option < UpdateFee > ,
494
+ /// Finally, the commitment_signed message which should be sent
495
+ pub commitment_signed : CommitmentSigned ,
490
496
}
491
497
492
498
/// The information we received from a peer along the route of a payment we originated. This is
0 commit comments