Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
fix bug where we need to supply a positive value
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Mar 12, 2019
1 parent 2ed16e7 commit f6dcc48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_ensure_majority_votes(sample_eth1_data_vote_params, config):


def _some_bytes(seed):
return hash_eth2(b'some_hash' + seed.to_bytes(32, 'little'))
return hash_eth2(b'some_hash' + abs(seed).to_bytes(32, 'little'))


@pytest.mark.parametrize(
Expand Down

0 comments on commit f6dcc48

Please sign in to comment.