diff --git a/src/test/llmq_commitment_tests.cpp b/src/test/llmq_commitment_tests.cpp index cfc193f42725..00423685851b 100644 --- a/src/test/llmq_commitment_tests.cpp +++ b/src/test/llmq_commitment_tests.cpp @@ -142,8 +142,8 @@ BOOST_AUTO_TEST_CASE(commitment_json_test) BOOST_CHECK(json.exists("signersCount")); BOOST_CHECK(json.exists("validMembersCount")); - BOOST_CHECK_EQUAL(json["signersCount"].get_int(), commitment.CountSigners()); - BOOST_CHECK_EQUAL(json["validMembersCount"].get_int(), commitment.CountValidMembers()); + BOOST_CHECK_EQUAL(json["signersCount"].getInt(), commitment.CountSigners()); + BOOST_CHECK_EQUAL(json["validMembersCount"].getInt(), commitment.CountValidMembers()); } BOOST_AUTO_TEST_CASE(commitment_bitvector_json_test)