Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
td202 committed Aug 16, 2024
1 parent af6d3c7 commit b1d3844
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,10 @@ pub enum DelegationEvent {
delegator_id: DelegatorId,
},
BakerRemoved {
/// Baker's id
/// The id of the baker that was removed. If the account is a baker in
/// the current payday, it will remain so until the next payday,
/// although the baker record will be removed from the account
/// immediately.
baker_id: BakerId,
},
}
Expand Down Expand Up @@ -2101,7 +2104,10 @@ pub enum BakerEvent {
},
/// Removed an existing delegator
DelegationRemoved {
/// Delegator's id
/// The id of the delegator that was removed. If the account is a
/// delegator in the current payday, it will remain so until the
/// next payday, although the delegation record will be removed
/// from the account immediately.
delegator_id: DelegatorId,
},
}
Expand Down

0 comments on commit b1d3844

Please sign in to comment.