diff --git a/DecisionSystem/CentralisedDecision/ballotvoter.py b/DecisionSystem/CentralisedDecision/ballotvoter.py index 0394c35..5c994cf 100644 --- a/DecisionSystem/CentralisedDecision/ballotvoter.py +++ b/DecisionSystem/CentralisedDecision/ballotvoter.py @@ -27,6 +27,8 @@ class BallotVoter: messageDict = umsgpack.unpackb(message) if "type" in messageDict.keys: # Ok message. + if messageDict["type"] == "reqVote": + submit_vote() else: # Bad message.