diff --git a/unittests/api_tests.cpp b/unittests/api_tests.cpp index b4b903d55c..a226866116 100644 --- a/unittests/api_tests.cpp +++ b/unittests/api_tests.cpp @@ -3880,7 +3880,7 @@ BOOST_AUTO_TEST_CASE(set_finalizer_test) { try { BOOST_TEST(!!ext); BOOST_TEST(std::get(*ext).finalizers.size() == finalizers.size()); BOOST_TEST(std::get(*ext).generation == 1); - BOOST_TEST(std::get(*ext).fthreshold == finalizers.size() / 3 * 2); + BOOST_TEST(std::get(*ext).fthreshold == finalizers.size() / 3 * 2 + 1); // old dpos still in affect until block is irreversible BOOST_TEST(block->confirmed == 0);