test: Add an extra assertion to feature_zip221.py

This commit is contained in:
Jack Grigg 2020-04-10 11:06:49 +12:00
parent d47676fe00
commit 9cfd574eac
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class Zip221Test(BitcoinTestFramework):
# hashChainHistoryRoot to null.
print("Verifying blocks up to and including Heartwood activation")
blockcount = self.nodes[0].getblockcount()
assert_equal(blockcount, 10)
for height in range(0, blockcount + 1):
blk = self.nodes[0].getblock(str(height))
assert_equal(blk["chainhistoryroot"], NULL_FIELD)