Skip to content

Commit

Permalink
Return the fresh quorum hash from mine_quorum
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Apr 4, 2019
1 parent 17b9318 commit 40ad06e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/rpc-tests/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,12 +683,15 @@ def mine_quorum(self, expected_valid_count=5):
set_node_times(self.nodes, get_mocktime())
self.nodes[0].generate(1)
sync_blocks(self.nodes)
new_quorum = self.nodes[0].quorum("list", 1)["llmq_5_60"][0]

# 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)

return new_quorum

# Test framework for doing p2p comparison testing, which sets up some bitcoind
# binaries:
# 1 binary: test binary
Expand Down

0 comments on commit 40ad06e

Please sign in to comment.