@@ -167,7 +167,6 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__invalid_link__unassociated
167167 uint64_t fees{};
168168 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::unvalidated);
169169 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::unassociated);
170- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::unassociated);
171170 BOOST_REQUIRE_EQUAL (fees, 0u );
172171}
173172
@@ -185,7 +184,6 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__unassociated_link__unassoc
185184 uint64_t fees{};
186185 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::unvalidated);
187186 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::unassociated);
188- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::unassociated);
189187 BOOST_REQUIRE_EQUAL (fees, 0u );
190188}
191189
@@ -202,7 +200,6 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__unvalidated_link__unvalida
202200 uint64_t fees{};
203201 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::unvalidated);
204202 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::unvalidated);
205- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::unvalidated);
206203 BOOST_REQUIRE_EQUAL (fees, 0u );
207204}
208205
@@ -219,13 +216,11 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__confirmable__block_confirm
219216 uint64_t fees{};
220217 BOOST_REQUIRE_EQUAL (query.get_header_state (0 ), error::unvalidated);
221218 BOOST_REQUIRE_EQUAL (query.get_block_state (0 ), error::unvalidated);
222- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 0 ), error::unvalidated);
223219 BOOST_REQUIRE_EQUAL (fees, 0u );
224220
225221 BOOST_REQUIRE (query.set_block_confirmable (1 ));
226222 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::block_confirmable);
227223 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::block_confirmable);
228- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::block_confirmable);
229224 BOOST_REQUIRE_EQUAL (fees, 0u );
230225}
231226
@@ -239,12 +234,9 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__valid__block_valid)
239234 BOOST_REQUIRE (query.initialize (test::genesis));
240235 BOOST_REQUIRE (query.set (test::block1, context{}, false , false ));
241236
242- uint64_t fees{};
243237 BOOST_REQUIRE (query.set_block_valid (1 , 42 ));
244238 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::block_valid);
245239 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::block_valid);
246- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::block_valid);
247- BOOST_REQUIRE_EQUAL (fees, 42u );
248240}
249241
250242BOOST_AUTO_TEST_CASE (query_validate__get_block_state__unconfirmable__block_unconfirmable)
@@ -257,12 +249,9 @@ BOOST_AUTO_TEST_CASE(query_validate__get_block_state__unconfirmable__block_uncon
257249 BOOST_REQUIRE (query.initialize (test::genesis));
258250 BOOST_REQUIRE (query.set (test::block1, context{}, false , false ));
259251
260- uint64_t fees{};
261252 BOOST_REQUIRE (query.set_block_unconfirmable (1 ));
262253 BOOST_REQUIRE_EQUAL (query.get_header_state (1 ), error::block_unconfirmable);
263254 BOOST_REQUIRE_EQUAL (query.get_block_state (1 ), error::block_unconfirmable);
264- BOOST_REQUIRE_EQUAL (query.get_block_state (fees, 1 ), error::block_unconfirmable);
265- BOOST_REQUIRE_EQUAL (fees, 0u );
266255}
267256
268257BOOST_AUTO_TEST_CASE (query_validate__get_tx_state__invalid_link__unvalidated)
0 commit comments