dappuniversity / election

A Decentralized Ethereum Voting Application Tutorial
563 stars 506 forks source link

Added 'memory' to addCandidate function arguments #49

Open webguyty opened 3 years ago

webguyty commented 3 years ago

I'm using solidity 5.0 + and I had to add 'memory' to the addCandidate function to compile and deploy. Not sure if you will find this useful or if most people are still using < 5.0

MrPatrickHenry commented 1 year ago

yea this works. ran in to the same issue