Mine SIGN_HEIGHT_OFFSET additional blocks after the quorum commitment

Otherwise the fresh quorum won't be eligable for signing sessions.
This commit is contained in:
Alexander Block 2019-04-04 08:15:31 +02:00
parent 5e832e2fa6
commit 17b9318a04

View File

@ -684,6 +684,9 @@ class DashTestFramework(BitcoinTestFramework):
self.nodes[0].generate(1)
sync_blocks(self.nodes)
# Mine 8 (SIGN_HEIGHT_OFFSET) more blocks to make sure that the new quorum gets eligable for signing sessions
self.nodes[0].generate(8)
sync_blocks(self.nodes)
# Test framework for doing p2p comparison testing, which sets up some bitcoind