Skip to content

Commit

Permalink
chore: comment TODO: prevent self
Browse files Browse the repository at this point in the history
  • Loading branch information
anarcher committed Nov 10, 2022
1 parent 88ef6b6 commit 4055858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/gno.land/r/system/names/public.gno
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func AddAdmin(namespace string, newAdmin std.Address) {
func RemoveAdmin(namespace string, admin std.Address) {
space := getSpace(namespace)
assertIsAdmin(space)
// TODO: prevent self
err := space.removeAdmin(admin)
checkErr(err)
}
Expand Down

0 comments on commit 4055858

Please sign in to comment.