Skip to content

for whatever reason, it doesn't throw exception. i fixed the test to check for failed tx status instead: https://github.com/pauluhn/election/blob/paul/test/election.js#L54 #64

Description

@HimikaP
    for whatever reason, it doesn't throw exception. i fixed the test to check for failed tx status instead: https://github.com/pauluhn/election/blob/paul/test/election.js#L54

Originally posted by @pauluhn in #1 (comment)

I am still getting an error and my "double voting" test is failing

  1. Contract: Election
    vote fails for double voting:
    AssertionError: accepts first vote: expected <BN: 0> to equal 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions