diff options
| author | Justin Turner Arthur <[email protected]> | 2018-09-23 21:30:22 -0500 |
|---|---|---|
| committer | Justin Turner Arthur <[email protected]> | 2018-09-23 22:31:00 -0500 |
| commit | 1d0ce94a54be17b139a052b8e7b4605fe9ac1ecd (patch) | |
| tree | f01bd45f85b2fcbb0814b13e1c2216b044260df1 | |
| parent | test: Fix broken segwit test (diff) | |
| download | discoin-1d0ce94a54be17b139a052b8e7b4605fe9ac1ecd.tar.xz discoin-1d0ce94a54be17b139a052b8e7b4605fe9ac1ecd.zip | |
Fix for incorrect version attr set on functional test segwit block.
| -rwxr-xr-x | test/functional/p2p_segwit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py index 58bfd1c94..1b3c5bd1f 100755 --- a/test/functional/p2p_segwit.py +++ b/test/functional/p2p_segwit.py @@ -205,7 +205,7 @@ class SegWitTest(BitcoinTestFramework): 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 |