Closed maxaleks closed 4 years ago
I renamed contractType to type in https://github.com/poanetwork/poa-dapps-voting/pull/219/commits/a1bde7092966b9d51e16ca5c15f5eb12aa2c631c since contractType is returned by the VotingToChangeProxy.getBallotInfo getter (and shouldn't be overwritten), and fixed the pos field so that it would store a unique number of the ballot within ballotsStore.ballotCards array (the pos is used by the vote feature).
contractType
type
VotingToChangeProxy.getBallotInfo
pos
ballotsStore.ballotCards
vote
I renamed
contractType
totype
in https://github.com/poanetwork/poa-dapps-voting/pull/219/commits/a1bde7092966b9d51e16ca5c15f5eb12aa2c631c sincecontractType
is returned by theVotingToChangeProxy.getBallotInfo
getter (and shouldn't be overwritten), and fixed thepos
field so that it would store a unique number of the ballot withinballotsStore.ballotCards
array (thepos
is used by thevote
feature).