From e5531f901a8a6fd4416107de2e1c8e985902d3dd Mon Sep 17 00:00:00 2001 From: NIK Date: Tue, 10 Oct 2023 17:27:10 +0800 Subject: [PATCH] bugfix - set seed on upcoming election --- src/upvote_election/actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upvote_election/actions.cpp b/src/upvote_election/actions.cpp index 063309c..b9d76bf 100644 --- a/src/upvote_election/actions.cpp +++ b/src/upvote_election/actions.cpp @@ -990,7 +990,7 @@ namespace hypha { void dao::uesubmitseed(uint64_t dao_id, eosio::checksum256 seed, name account) { eosio::require_auth(account); - auto edge = Edge::get(get_self(), dao_id, upvote_common::links::ELECTION); + auto edge = Edge::get(get_self(), dao_id, upvote_common::links::UPCOMING_ELECTION); auto electionId = edge.getToNode();