Skip to content

Commit

Permalink
stop writing 0 for latest proposal id
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Apr 23, 2024
1 parent c56ca50 commit c29f630
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/governor.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,6 @@ pub mod Governor {

self.proposals.write(id, proposal);

// allows the proposer to create a new proposal
self.latest_proposal_by_proposer.write(proposal.proposer, Zero::zero());

self.emit(Canceled { id });
}

Expand Down

0 comments on commit c29f630

Please sign in to comment.