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 165442d commit f169fd2Copy full SHA for f169fd2
wizard/vote_directly.py
@@ -80,6 +80,8 @@ def _do_main(cli_args: List[str]):
80
previous_vote = entrypoint.get_direct_vote(address, proposal)
81
if previous_vote:
82
print(f"\tprevious vote at {format_time(previous_vote.timestamp)}:", previous_vote.vote_type)
83
+ print(f"\t[red]has already voted![/red]")
84
+ continue
85
86
tx = entrypoint.vote_directly(
87
sender=account_wrapper,
0 commit comments