@@ -92,8 +92,8 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_utxo_get_address__p2kh__expected)
9292 BOOST_REQUIRE (handshake (electrum::version::v1_0));
9393
9494 // Add a confirmed p2sh/p2kh block.
95- query_.set (test::bogus_block10, database::context{ 0 , 10 , 0 }, false , false );
96- query_.push_confirmed (query_.to_header (test::bogus_block10.hash ()), false );
95+ BOOST_REQUIRE ( query_.set (test::bogus_block10, database::context{ 0 , 10 , 0 }, false , false ) );
96+ BOOST_REQUIRE ( query_.push_confirmed (query_.to_header (test::bogus_block10.hash ()), false ) );
9797
9898 const auto hash = test::bogus_block10.transactions_ptr ()->at (1 )->hash (false );
9999 const auto request = R"( {"id":901,"method":"blockchain.utxo.get_address","params":["%1%",0]})" " \n " ;
@@ -109,8 +109,8 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_utxo_get_address__p2sh__expected)
109109 BOOST_REQUIRE (handshake (electrum::version::v1_0));
110110
111111 // Add a confirmed p2sh/p2kh block.
112- query_.set (test::bogus_block10, database::context{ 0 , 10 , 0 }, false , false );
113- query_.push_confirmed (query_.to_header (test::bogus_block10.hash ()), false );
112+ BOOST_REQUIRE ( query_.set (test::bogus_block10, database::context{ 0 , 10 , 0 }, false , false ) );
113+ BOOST_REQUIRE ( query_.push_confirmed (query_.to_header (test::bogus_block10.hash ()), false ) );
114114
115115 const auto hash = test::bogus_block10.transactions_ptr ()->at (1 )->hash (false );
116116 const auto request = R"( {"id":901,"method":"blockchain.utxo.get_address","params":["%1%",1]})" " \n " ;
0 commit comments