Skip to content

Commit

Permalink
check delegated shares on proposor for cancel by rando
Browse files Browse the repository at this point in the history
  • Loading branch information
dekanbro committed Sep 13, 2023
1 parent 51cee95 commit 3a03eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/admin/src/components/CancelProposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const CancelProposal = ({
proposal.createdBy.toLowerCase() === address?.toLowerCase();

const sponsorBelowThreshold =
Number(proposal.sponsorMembership?.shares) <
Number(proposal.sponsorMembership?.delegateShares) <
Number(dao?.sponsorThreshold);

const isGovernorShaman = dao?.shamen?.some((shaman) => {
Expand Down

0 comments on commit 3a03eda

Please sign in to comment.