Change debug messages
This commit is contained in:
@@ -51,11 +51,11 @@ class BallotVoter:
|
|||||||
def submit_vote(self):
|
def submit_vote(self):
|
||||||
v = self.on_vote()
|
v = self.on_vote()
|
||||||
if v == None:
|
if v == None:
|
||||||
print('Could not vote on the frame')
|
print('Could not get vote')
|
||||||
return
|
return
|
||||||
print("Got Vote")
|
print("Got Vote")
|
||||||
vote = SubmitVote(v, self.messenger.id)
|
vote = SubmitVote(v, self.messenger.id)
|
||||||
print('created vote')
|
print('Created Vote Message')
|
||||||
self.messenger.broadcast_message(self.messenger.swarm, vote.serialise())
|
self.messenger.broadcast_message(self.messenger.swarm, vote.serialise())
|
||||||
print('published vote')
|
print('published vote')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user