Closed joantyry closed 4 years ago
I did a local installation but I am unable to cast vote. Query all assets gives the following output:
0000 | { "ballotCreated": false, "firstName": "jfgkl", "lastName": "jgfkl", "registrarId": "7890", "type": "voter", "voterId": "0000" }
0001 | { "ballotCreated": false, "firstName": "fghjkl", "lastName": "fghjkl", "registrarId": "56789", "type": "voter", "voterId": "0001" }
@joantyry
This is likely because the init function was not called.
Go down to Fabric Gateways -> Channels -> mychannel -> voterContract -> init (right click on init) -> submit transaction
It worked thanks.
I did a local installation but I am unable to cast vote. Query all assets gives the following output:
0000 | { "ballotCreated": false, "firstName": "jfgkl", "lastName": "jgfkl", "registrarId": "7890", "type": "voter", "voterId": "0000" }
0001 | { "ballotCreated": false, "firstName": "fghjkl", "lastName": "fghjkl", "registrarId": "56789", "type": "voter", "voterId": "0001" }