Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.
This repository was archived by the owner on May 1, 2026. It is now read-only.

uint to bytes32 conversion error. #53

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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