check was already modified
This commit is contained in:
parent
5f1436b8be
commit
ac3554ea2e
1 changed files with 0 additions and 3 deletions
|
|
@ -2193,9 +2193,6 @@ public:
|
||||||
FC_THROW("Account ${account} was already voting for witness ${witness} in the current GPOS sub-period", ("account", voting_account)("witness", witness));
|
FC_THROW("Account ${account} was already voting for witness ${witness} in the current GPOS sub-period", ("account", voting_account)("witness", witness));
|
||||||
else
|
else
|
||||||
update_vote_time = true; //Allow user to vote in each sub-period(Update voting time, which is reference in calculating VF)
|
update_vote_time = true; //Allow user to vote in each sub-period(Update voting time, which is reference in calculating VF)
|
||||||
|
|
||||||
if (!insert_result.second)
|
|
||||||
FC_THROW("Account ${account} has already voted for witness ${witness}", ("account", voting_account)("witness", witness));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue