wallet: track which coin selection algorithm produced a SelectionResult

This commit is contained in:
Andrew Chow
2022-03-21 14:19:10 -04:00
parent b69fd5eaa9
commit 912f1ed181
4 changed files with 33 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ BOOST_AUTO_TEST_CASE(bnb_search_test)
FastRandomContext rand{};
// Setup
std::vector<COutput> utxo_pool;
SelectionResult expected_result(CAmount(0));
SelectionResult expected_result(CAmount(0), SelectionAlgorithm::BNB);
/////////////////////////
// Known Outcome tests //