poanetwork / poa-dapps-voting

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

(Refactor) VotingToChange*.contract.js files contain identical functions #167

Open varasev opened 6 years ago

varasev commented 6 years ago

Problem: src/contracts/VotingToChange*.contract.js files contain functions with duplicated code.

Solution: Create a common src/contracts/VotingToChange.contract.js file and move those functions into it.