diff --git a/test/functional/test_framework/test_framework_itcoin_frost.py b/test/functional/test_framework/test_framework_itcoin_frost.py index 975dbc59e4854..f7fa2f7a14a59 100644 --- a/test/functional/test_framework/test_framework_itcoin_frost.py +++ b/test/functional/test_framework/test_framework_itcoin_frost.py @@ -47,7 +47,7 @@ def set_test_params(self, set_signet_challenge_as_extra_arg=True, tweak_public_k for p in self.participants: for i in self.participants: if i != p: - assert(p.verify_proof_of_knowledge(i.proof_of_knowledge, i.coefficient_commitments[0], i.index)) + assert_equal(p.verify_proof_of_knowledge(i.proof_of_knowledge, i.coefficient_commitments[0], i.index), True) # shares generation for p in self.participants: @@ -57,7 +57,7 @@ def set_test_params(self, set_signet_challenge_as_extra_arg=True, tweak_public_k for i in self.participants: for l in self.participants: if i != l: - assert(i.verify_share(l.shares[i.index -1], l.coefficient_commitments)) + assert_equal(i.verify_share(l.shares[i.index -1], l.coefficient_commitments), True) # computation of partial secrets for p in self.participants: