Skip to content

Commit

Permalink
#389 fix redundant coinbase branch check in shard_state.py (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
qizhou authored and ninjaahhh committed Mar 15, 2019
1 parent 8e8f783 commit 3f26e92
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions quarkchain/cluster/shard_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,6 @@ def __validate_block(
if diff != block.header.difficulty:
raise ValueError("incorrect difficulty")

if not self.branch.is_in_branch(block.header.coinbase_address.full_shard_key):
raise ValueError("coinbase output must be in local shard")

# Check whether the root header is in the root chain
root_block_header = self.db.get_root_block_header_by_hash(
block.header.hash_prev_root_block
Expand Down

0 comments on commit 3f26e92

Please sign in to comment.