@@ -56,7 +56,7 @@ static void CoinSelection(benchmark::Bench& bench)
5656 // Create coins
5757 std::vector<COutput> coins;
5858 for (const auto & wtx : wtxs) {
59- coins.emplace_back (COutPoint (wtx->GetHash (), 0 ), wtx->tx ->vout .at (0 ), /* depth=*/ 6 * 24 , GetTxSpendSize (wallet, *wtx, 0 ), /* spendable=*/ true , /* solvable=*/ true , /* safe=*/ true , wtx->GetTxTime (), /* from_me=*/ true );
59+ coins.emplace_back (COutPoint (wtx->GetHash (), 0 ), wtx->tx ->vout .at (0 ), /* depth=*/ 6 * 24 , GetTxSpendSize (wallet, *wtx, 0 ), /* spendable=*/ true , /* solvable=*/ true , /* safe=*/ true , wtx->GetTxTime (), /* from_me=*/ true , /* fees= */ 0 );
6060 }
6161 const CoinEligibilityFilter filter_standard (1 , 6 , 0 );
6262 FastRandomContext rand{};
@@ -85,7 +85,7 @@ static void add_coin(const CAmount& nValue, int nInput, std::vector<OutputGroup>
8585 CMutableTransaction tx;
8686 tx.vout .resize (nInput + 1 );
8787 tx.vout [nInput].nValue = nValue;
88- COutput output (COutPoint (tx.GetHash (), nInput), tx.vout .at (nInput), /* depth=*/ 0 , /* input_bytes=*/ -1 , /* spendable=*/ true , /* solvable=*/ true , /* safe=*/ true , /* time=*/ 0 , /* from_me=*/ true );
88+ COutput output (COutPoint (tx.GetHash (), nInput), tx.vout .at (nInput), /* depth=*/ 0 , /* input_bytes=*/ -1 , /* spendable=*/ true , /* solvable=*/ true , /* safe=*/ true , /* time=*/ 0 , /* from_me=*/ true , /* fees= */ 0 );
8989 set.emplace_back ();
9090 set.back ().Insert (output, /* ancestors=*/ 0 , /* descendants=*/ 0 , /* positive_only=*/ false );
9191}
0 commit comments