Skip to content

uint to bytes32 conversion error. #53

@mychewcents

Description

@mychewcents

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions