From 1a04eea4e21b9e1ca31b777ce20ba9aa8290cc7d Mon Sep 17 00:00:00 2001 From: yungwine Date: Fri, 19 Apr 2024 11:34:33 +0400 Subject: [PATCH] fix vo --- mytoncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mytoncore.py b/mytoncore.py index 33d1f872..d6a600ca 100755 --- a/mytoncore.py +++ b/mytoncore.py @@ -2478,12 +2478,12 @@ def VoteOffer(self, offerHash): if validatorIndex in offer.get("votedValidators"): local.add_log("Proposal already has been voted", "debug") return + self.AddSaveOffer(offer) var1 = self.CreateConfigProposalRequest(offerHash, validatorIndex) validatorSignature = self.GetValidatorSignature(validatorKey, var1) resultFilePath = self.SignProposalVoteRequestWithValidator(offerHash, validatorIndex, validatorPubkey_b64, validatorSignature) resultFilePath = self.SignBocWithWallet(wallet, resultFilePath, fullConfigAddr, 1.5) self.SendFile(resultFilePath, wallet) - self.AddSaveOffer(offer) #end define def VoteComplaint(self, electionId, complaintHash):