Skip to content

How should Block_test.PoW throw VerificationException? #18

@RdeWilde

Description

@RdeWilde

In the block_test "PoW" it has these lines:

      // Break the nonce again at the lower difficulty level so we can try solving for it.
      block.nonce = 1;
      expect(() => block.verify(params, true), throwsA(new isInstanceOf<VerificationException>()));

As it didn't throw the expected exception, I was going thru the code. But I can't find where it should throw the Exception as a result of the changed nonce.

Can you point me to it?

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