From ac3554ea2e4de8c117bac0747798a0d20db1e54d Mon Sep 17 00:00:00 2001
From: pbattu123
Date: Sun, 27 Oct 2019 13:11:58 -0300
Subject: [PATCH] check was already modified
---
libraries/wallet/wallet.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp
index 8d2ae75f..449000bc 100644
--- a/libraries/wallet/wallet.cpp
+++ b/libraries/wallet/wallet.cpp
@@ -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));
else
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
{