From 17b9318a049e1e401e3e64225061223ac59419e6 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Thu, 4 Apr 2019 08:15:31 +0200 Subject: [PATCH] Mine SIGN_HEIGHT_OFFSET additional blocks after the quorum commitment Otherwise the fresh quorum won't be eligable for signing sessions. --- qa/rpc-tests/test_framework/test_framework.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index ea4e5a5e3d..e84caa6c57 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -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