poanetwork / poa-dapps-voting

POA Network Governance Dapp
https://voting.poa.network
GNU General Public License v3.0
26 stars 54 forks source link

(Fix) Don't let create a ballot to remove voting/ payout key if a mining key is already being removed in an active ballot #133

Open varasev opened 6 years ago

varasev commented 6 years ago

Problem: a validator can create a new ballot to remove voting or payout key when a corresponding mining key is already being removed in an active ballot.

Solution: don't let create a new ballot in that case. Display an alert instead.