Update beacon_chain/spec/beaconstate.nim

Co-Authored-By: tersec <tersec@users.noreply.github.com>
This commit is contained in:
Jacek Sieka 2019-01-23 17:51:59 +00:00 committed by GitHub
parent a11dcdfe64
commit 63f7302a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ func get_initial_beacon_state*(
for i, committee2 in initial_shuffling: for i, committee2 in initial_shuffling:
let slot = i div committee_count_per_slot let slot = i div committee_count_per_slot
var sc : ShardCommittee var sc: ShardCommittee
sc.shard = i.uint64 sc.shard = i.uint64
sc.committee = committee2 sc.committee = committee2
state.shard_committees_at_slots[slot] = concat(state.shard_committees_at_slots[slot], @[sc]) state.shard_committees_at_slots[slot] = concat(state.shard_committees_at_slots[slot], @[sc])