File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ static void MempoolCheckEphemeralSpends(benchmark::Bench& bench)
43
43
}
44
44
45
45
// Tx with many outputs
46
- CMutableTransaction tx1 = CMutableTransaction () ;
46
+ CMutableTransaction tx1;
47
47
tx1.vin .resize (1 );
48
48
tx1.vout .resize (number_outputs);
49
49
for (size_t i = 0 ; i < tx1.vout .size (); i++) {
@@ -55,7 +55,7 @@ static void MempoolCheckEphemeralSpends(benchmark::Bench& bench)
55
55
const auto & parent_txid = tx1.GetHash ();
56
56
57
57
// Spends all outputs of tx1, other details don't matter
58
- CMutableTransaction tx2 = CMutableTransaction () ;
58
+ CMutableTransaction tx2;
59
59
tx2.vin .resize (tx1.vout .size ());
60
60
for (size_t i = 0 ; i < tx2.vin .size (); i++) {
61
61
tx2.vin [0 ].prevout .hash = parent_txid;
You can’t perform that action at this time.
0 commit comments