From 226d380f8733663c033edee94fdd8427c4ddb2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Thu, 9 May 2019 12:07:09 +0200 Subject: [PATCH] Revert "Fix SIGFPE on shuffling for 0" This reverts commit 8cfbfdf565fde4fd6a4f25aa34c55cc83cdeea8d. --- beacon_chain/spec/validator.nim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/beacon_chain/spec/validator.nim b/beacon_chain/spec/validator.nim index 9151a9081..2f628c174 100644 --- a/beacon_chain/spec/validator.nim +++ b/beacon_chain/spec/validator.nim @@ -25,11 +25,6 @@ func get_shuffled_seq*(seed: Eth2Digest, ## ## Invert the inner/outer loops from the spec, essentially. Most useful ## hash result re-use occurs within a round. - - # Empty size -> empty list. - if list_size == 0: - return - var # Share these buffers. pivot_buffer: array[(32+1), byte]