fix shuffling generator, convert ValidatorIndex output to normal int
This commit is contained in:
parent
91f55f55b5
commit
7b91c289d4
|
@ -10,7 +10,7 @@ from preset_loader import loader
|
|||
def shuffling_case(seed, count):
|
||||
yield 'seed', '0x' + seed.hex()
|
||||
yield 'count', count
|
||||
yield 'shuffled', [spec.get_shuffled_index(i, count, seed) for i in range(count)]
|
||||
yield 'shuffled', [int(spec.get_shuffled_index(i, count, seed)) for i in range(count)]
|
||||
|
||||
|
||||
@to_tuple
|
||||
|
|
Loading…
Reference in New Issue