Skip to content

Commit c9ef70a

Browse files
committed
tests: add is_mature for quorum generation logs
1 parent 59060b5 commit c9ef70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/test_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ def mine_quorum(self, llmq_type_name="llmq_test", llmq_type=100, expected_connec
21892189
# Mine 8 (SIGN_HEIGHT_OFFSET) more blocks to make sure that the new quorum gets eligible for signing sessions
21902190
self.generate(self.nodes[0], 8, sync_fun=lambda: self.sync_blocks(nodes))
21912191

2192-
self.log.info("New quorum: height=%d, quorumHash=%s, quorumIndex=%d, minedBlock=%s" % (quorum_info["height"], new_quorum, quorum_info["quorumIndex"], quorum_info["minedBlock"]))
2192+
self.log.info(f"New quorum: height={quorum_info['height']}, quorumHash={new_quorum}, is_mature={not skip_maturity} quorumIndex={quorum_info['quorumIndex']}, minedBlock={quorum_info['minedBlock']}")
21932193

21942194
for mn in mninfos_valid:
21952195
assert not check_punished(self.nodes[0], mn)

0 commit comments

Comments
 (0)