Skip to content

Commit

Permalink
chore: remove unused func
Browse files Browse the repository at this point in the history
Signed-off-by: Norman <[email protected]>
  • Loading branch information
n0izn0iz committed Jan 6, 2025
1 parent 5b9e2b1 commit 530fa66
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gno/p/daocond/daocond.gno
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,3 @@ type State interface {
HandleVote(voterId string, vote Vote, previousVotes map[string]Vote)
RenderJSON() *json.Node
}

func NewStateSlice(conds ...Condition) []State {
states := make([]State, 0, len(conds))
for _, cond := range conds {
states = append(states, cond.NewState())
}
return states
}

0 comments on commit 530fa66

Please sign in to comment.