Skip to content

Commit

Permalink
Also load stale root block for master server in p2p talk (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjaahhh authored Mar 30, 2019
1 parent 54600b1 commit bf19c70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quarkchain/cluster/simple_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ async def handle_get_root_block_header_list_request(self, request):
block_hash = request.block_hash
header_list = []
for i in range(request.limit):
header = self.root_state.db.get_root_block_header_by_hash(block_hash)
header = self.root_state.db.get_root_block_header_by_hash(
block_hash, consistency_check=False
)
header_list.append(header)
if header.height == 0:
break
Expand Down

0 comments on commit bf19c70

Please sign in to comment.