diff --git a/src/components/BallotCard/index.js b/src/components/BallotCard/index.js index 6a07070..5a219ac 100644 --- a/src/components/BallotCard/index.js +++ b/src/components/BallotCard/index.js @@ -320,6 +320,10 @@ export class BallotCard extends React.Component { @action('validator has already voted') getHasAlreadyVoted = async () => { const { contractsStore, id, votingType } = this.props + if (contractsStore.miningKey === '0x0000000000000000000000000000000000000000') { + this.hasAlreadyVoted = false + return + } let _hasAlreadyVoted = false try { _hasAlreadyVoted = await this.getContract(contractsStore, votingType).hasAlreadyVoted(