Skip to content

Commit 1d0ce94

Browse files
committed
Fix for incorrect version attr set on functional test segwit block.
1 parent ba923e3 commit 1d0ce94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/p2p_segwit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def build_next_block(self, version=4):
205205
height = self.nodes[0].getblockcount() + 1
206206
block_time = self.nodes[0].getblockheader(tip)["mediantime"] + 1
207207
block = create_block(int(tip, 16), create_coinbase(height), block_time)
208-
block.version = version
208+
block.nVersion = version
209209
block.rehash()
210210
return block
211211

0 commit comments

Comments
 (0)