Skip to content

Commit 488a5ab

Browse files
committed
Use confirmed not just strong block for tx test.
1 parent c2dc952 commit 488a5ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/protocols/electrum/electrum_transactions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get_merkle__mutiple_txs_bl
368368

369369
// Add a confirmed multi-tx block.
370370
BOOST_REQUIRE(query_.set(test::bogus_block10, database::context{ 0, 10, 0 }, false, false));
371-
BOOST_REQUIRE(query_.push_confirmed(query_.to_header(test::bogus_block10.hash()), false));
371+
BOOST_REQUIRE(query_.push_confirmed(query_.to_header(test::bogus_block10.hash()), true));
372372

373373
const auto request = R"({"id":104,"method":"blockchain.transaction.get_merkle","params":["%1%",10]})" "\n";
374374
const auto response = get((boost::format(request) % encode_hash(tx1_hash)).str());

0 commit comments

Comments
 (0)