ensure run verify-state root with block

Co-Authored-By: djrtwo <dannyjryan@gmail.com>
This commit is contained in:
Hsiao-Wei Wang 2019-03-19 09:49:32 -06:00 committed by GitHub
parent 8fc1fe5f20
commit d645a9a038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,4 +97,4 @@ def state_transition(state: BeaconState,
process_epoch_transition(state) process_epoch_transition(state)
spec.advance_slot(state) spec.advance_slot(state)
if block.slot == state.slot: if block.slot == state.slot:
process_block(state, block) process_block(state, block, verify_state_root)