Merge pull request #1045 from ethereum/fix-shuffling-gen

update shuffling func name
This commit is contained in:
Diederik Loerakker 2019-05-05 15:04:32 +02:00 committed by GitHub
commit 4e179fb801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from preset_loader import loader
def shuffling_case(seed: spec.Bytes32, count: int):
yield 'seed', '0x' + seed.hex()
yield 'count', count
yield 'shuffled', [spec.get_permuted_index(i, count, seed) for i in range(count)]
yield 'shuffled', [spec.get_shuffled_index(i, count, seed) for i in range(count)]
@to_tuple