fix minor testing bug

This commit is contained in:
Danny Ryan 2019-08-23 11:31:20 -06:00
parent af303244e7
commit db34ee17b6
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions
test_generators/ssz_generic

View File

@ -5,7 +5,7 @@ from random import Random
from eth2spec.debug.random_value import RandomizationMode, get_random_ssz_object
def bitvector_case_fn(rng: Random, mode: RandomizationMode, size: int, invalid_making_pos: int):
def bitvector_case_fn(rng: Random, mode: RandomizationMode, size: int, invalid_making_pos: int=None):
bits = get_random_ssz_object(rng, Bitvector[size],
max_bytes_length=(size + 7) // 8,
max_list_length=size,