Categories
Cryptocurrency Ethereum Mastering Development

ParserError pragma solidity ^0.4.21

thank you so much for your help I really appreciated this contract give me error in the line with (length) “ParserError: Expected primary expression. returns candidate.length” pragma solidity ^0.4.21; contract Election { struct Candidate { string name; uint voteCount; } struct Voter { bool authorized; bool voted; uint vote; } address public owner; string public […]

Categories
Cryptocurrency Ethereum Mastering Development

ParserError pragma solidity ^0.4.21

thank you so much for your help I really appreciated this contract give me error in the line with (length) “ParserError: Expected primary expression. returns candidate.length” pragma solidity ^0.4.21; contract Election { struct Candidate { string name; uint voteCount; } struct Voter { bool authorized; bool voted; uint vote; } address public owner; string public […]