We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f664e commit 253f34cCopy full SHA for 253f34c
modules/validator.py
@@ -1,8 +1,6 @@
1
from mypylib.mypylib import color_print
2
from modules.module import MtcModule
3
4
-from mytoncore.functions import Elections
5
-
6
7
class ValidatorModule(MtcModule):
8
@@ -20,6 +18,7 @@ def vote_offer(self, args):
20
18
color_print("VoteOffer - {green}OK{endc}")
21
19
22
def vote_election_entry(self, args):
+ from mytoncore.functions import Elections
23
Elections(self.ton.local, self.ton)
24
color_print("VoteElectionEntry - {green}OK{endc}")
25
0 commit comments