test: Add an extra assertion to feature_zip221.py
This commit is contained in:
parent
d47676fe00
commit
9cfd574eac
|
@ -51,6 +51,7 @@ class Zip221Test(BitcoinTestFramework):
|
||||||
# hashChainHistoryRoot to null.
|
# hashChainHistoryRoot to null.
|
||||||
print("Verifying blocks up to and including Heartwood activation")
|
print("Verifying blocks up to and including Heartwood activation")
|
||||||
blockcount = self.nodes[0].getblockcount()
|
blockcount = self.nodes[0].getblockcount()
|
||||||
|
assert_equal(blockcount, 10)
|
||||||
for height in range(0, blockcount + 1):
|
for height in range(0, blockcount + 1):
|
||||||
blk = self.nodes[0].getblock(str(height))
|
blk = self.nodes[0].getblock(str(height))
|
||||||
assert_equal(blk["chainhistoryroot"], NULL_FIELD)
|
assert_equal(blk["chainhistoryroot"], NULL_FIELD)
|
||||||
|
|
Loading…
Reference in New Issue