Skip to content

Commit

Permalink
Fix for incorrect version attr set on functional test segwit block.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinTArthur committed Sep 24, 2018
1 parent ba923e3 commit 1d0ce94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/p2p_segwit.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def build_next_block(self, version=4):
height = self.nodes[0].getblockcount() + 1
block_time = self.nodes[0].getblockheader(tip)["mediantime"] + 1
block = create_block(int(tip, 16), create_coinbase(height), block_time)
block.version = version
block.nVersion = version
block.rehash()
return block

Expand Down

0 comments on commit 1d0ce94

Please sign in to comment.