Skip to content

Commit

Permalink
xx
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Sep 1, 2023
1 parent fdeacef commit 16a8014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/test/evo_deterministicmns_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ BOOST_FIXTURE_TEST_CASE(dip3_shield, TestPoSChainSetup)
CReserveKey reservekey(&*pwalletMain);
pwalletMain->CommitTransaction(MakeTransactionRef(tx), reservekey, nullptr);
std::shared_ptr<CBlock> pblock = CreateBlockInternal(pwalletMain.get(), {tx});
std::cout << "Number txs: " << pblock->vtx.size() << "Content: " << pblock->ToString() << std::endl;
ProcessBlockAndUpdateUtxos(pblock, utxos);
BOOST_CHECK(deterministicMNManager->GetListAtChainTip().HasMN(tx.GetHash()));
nHeight += 1;
Expand Down Expand Up @@ -1110,6 +1111,7 @@ BOOST_FIXTURE_TEST_CASE(dip3_shield, TestPoSChainSetup)

pwalletMain->CommitTransaction(MakeTransactionRef(txShield), reservekey, nullptr);
std::shared_ptr<CBlock> pblock = CreateBlockInternal(pwalletMain.get(), {txShield}, nullptr, {}, true, true);
std::cout << "Number txs: " << pblock->vtx.size() << "Content: " << pblock->ToString() << std::endl;
ProcessBlockAndUpdateUtxos(pblock, utxos);
nHeight += 1;
BOOST_CHECK(deterministicMNManager->GetListAtChainTip().HasMN(txShield.GetHash()));
Expand Down
1 change: 0 additions & 1 deletion src/wallet/test/pos_test_fixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ SaplingOperation CreateOperationAndBuildTx(std::unique_ptr<CWallet>& pwallet,
->setSelectTransparentCoins(selectTransparentCoins)
->setSelectShieldedCoins(!selectTransparentCoins)
->build();
std::cout << operationResult.getError() << std::endl;
BOOST_ASSERT_MSG(operationResult, operationResult.getError().c_str());

CValidationState state;
Expand Down

0 comments on commit 16a8014

Please sign in to comment.