fix shuffling generator, convert ValidatorIndex output to normal int

This commit is contained in:
protolambda 2019-06-30 16:46:40 +02:00
parent 91f55f55b5
commit 7b91c289d4
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 1 additions and 1 deletions

View File

@ -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