From db5da9dc973c0fac9e1b9d1d3e19f755b91a8ac8 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 23 Jun 2020 10:50:41 +0800 Subject: [PATCH] Fix return type Co-authored-by: Danny Ryan --- specs/phase1/shard-transition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/phase1/shard-transition.md b/specs/phase1/shard-transition.md index d725cd8bf..e9982b370 100644 --- a/specs/phase1/shard-transition.md +++ b/specs/phase1/shard-transition.md @@ -64,7 +64,7 @@ def verify_shard_block_signature(beacon_state: BeaconState, def shard_state_transition(shard_state: ShardState, block: ShardBlock, validate_message: bool = True, - beacon_parent_state: Optional[BeaconState] = None) -> bool: + beacon_parent_state: Optional[BeaconState] = None) -> ShardState: if validate_message: assert beacon_parent_state is not None assert verify_shard_block_message(beacon_parent_state, shard_state, block)