Skip to content

Commit 00b6fd0

Browse files
author
Claude Code
committed
fix: update UniValue API usage in llmq_commitment_tests
Replace deprecated get_int() method with getInt() to match updated UniValue API from bitcoin backport dashpay#6775. Fixes compilation error in arm-linux-build CI job.
1 parent 1b29cf1 commit 00b6fd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/llmq_commitment_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ BOOST_AUTO_TEST_CASE(commitment_json_test)
142142
BOOST_CHECK(json.exists("signersCount"));
143143
BOOST_CHECK(json.exists("validMembersCount"));
144144

145-
BOOST_CHECK_EQUAL(json["signersCount"].get_int(), commitment.CountSigners());
146-
BOOST_CHECK_EQUAL(json["validMembersCount"].get_int(), commitment.CountValidMembers());
145+
BOOST_CHECK_EQUAL(json["signersCount"].getInt(), commitment.CountSigners());
146+
BOOST_CHECK_EQUAL(json["validMembersCount"].getInt(), commitment.CountValidMembers());
147147
}
148148

149149
BOOST_AUTO_TEST_CASE(commitment_bitvector_json_test)

0 commit comments

Comments
 (0)