File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,6 @@ struct Available {
23
23
size_t vin_left{0 };
24
24
size_t tx_count;
25
25
Available (CTransactionRef& ref, size_t tx_count) : ref(ref), tx_count(tx_count){}
26
- Available& operator =(Available other) {
27
- ref = other.ref ;
28
- vin_left = other.vin_left ;
29
- tx_count = other.tx_count ;
30
- return *this ;
31
- }
32
26
};
33
27
34
28
static void ComplexMemPool (benchmark::State& state)
@@ -66,7 +60,7 @@ static void ComplexMemPool(benchmark::State& state)
66
60
tx.vin .back ().scriptSig = CScript () << coin.tx_count ;
67
61
tx.vin .back ().scriptWitness .stack .push_back (CScriptNum (coin.tx_count ).getvch ());
68
62
}
69
- if (coin.vin_left == coin.ref ->vin .size ()) {
63
+ if (coin.vin_left == coin.ref ->vin .size ()) {
70
64
coin = available_coins.back ();
71
65
available_coins.pop_back ();
72
66
}
You can’t perform that action at this time.
0 commit comments