Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Feb 10, 2025
1 parent 4913762 commit 7e27b41
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/delegation/dao-vote-delegation/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ pub fn get_udvp(
height: u64,
) -> StdResult<Uint128> {
// if no unvoted delegated VP exists for the proposal, use the delegate's
// total delegated VP at that height. UNVOTED_DELEGATED_VP gets set when the
// delegate or one of their delegators casts a vote. if empty, none of them
// have voted yet.
// total delegated VP at that height. UNVOTED_DELEGATED_VP gets set when one
// of their delegators casts a vote. if empty, none of them have voted yet.
match UNVOTED_DELEGATED_VP.may_load(deps.storage, (delegate, proposal_module, proposal_id))? {
Some(vp) => Ok(vp),
None => Ok(DELEGATED_VP
Expand Down

0 comments on commit 7e27b41

Please sign in to comment.