Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
n13 committed Oct 12, 2023
1 parent fbbc698 commit 1f258a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion include/dao.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ namespace pricing {
// ACTION testgrouprng(std::vector<uint64_t> ids, uint32_t seed);
// ACTION testgroupr1(uint32_t num_members, uint32_t seed);
// ACTION testround(uint64_t dao_id);
ACTION inituebadges();

ACTION castupvote(uint64_t round_id, uint64_t group_id, name voter, uint64_t voted_id);
ACTION uesubmitseed(uint64_t dao_id, eosio::checksum256 seed, name account);
Expand Down
8 changes: 1 addition & 7 deletions src/dao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1375,12 +1375,6 @@ void dao::initSysBadges() {

}

void dao::inituebadges() {
createSystemBadge(badges::common::links::DELEGATE, "Upvote Delegate Badge", "");
createSystemBadge(badges::common::links::CHIEF_DELEGATE, "Chief Delegate Badge", "");
createSystemBadge(badges::common::links::HEAD_DELEGATE, "Head Delegate Badge", "");
}

void dao::createSystemBadge(name badge_edge, string label, string icon) {

badges::SystemBadgeType systemBadgeType;
Expand Down Expand Up @@ -3518,7 +3512,7 @@ void dao::readDaoSettings(uint64_t daoID, const name& dao, ContentWrapper config

// void dao::reset() {

// check(false, "reset is only for testing");
// // eosio::check(false, "reset is only for testing");

// require_auth(_self);

Expand Down

0 comments on commit 1f258a8

Please sign in to comment.