In PLCRVoting.sol contract, at Line 163:
store.setAttribute(UUID, "commitHash", uint(_secretHash));
It so happens that it is not possible to convert bytes32 into uint and hence when this function is applied, it stores 0x00... as the commitHash.
Am I missing something here or is this what should happen after all?
In
PLCRVoting.solcontract, at Line 163:store.setAttribute(UUID, "commitHash", uint(_secretHash));It so happens that it is not possible to convert
bytes32intouintand hence when this function is applied, it stores0x00...as thecommitHash.Am I missing something here or is this what should happen after all?