aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/transaction.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-12-07 11:31:28 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-12-07 14:59:33 +0100
commitfaac31521bb7ecbf999541cf918d3750ff589de4 (patch)
tree57527364e2c2440ef0f93b6f971b1baa573ab7a6 /src/test/fuzz/transaction.cpp
parenteab63b971d5fc3408214a958678a235bf454af99 (diff)
Remove unused and confusing CTransaction constructor
Diffstat (limited to 'src/test/fuzz/transaction.cpp')
-rw-r--r--src/test/fuzz/transaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/transaction.cpp b/src/test/fuzz/transaction.cpp
index 4f972dea1c..9e40883709 100644
--- a/src/test/fuzz/transaction.cpp
+++ b/src/test/fuzz/transaction.cpp
@@ -42,7 +42,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
return CTransaction(deserialize, ds);
} catch (const std::ios_base::failure&) {
valid_tx = false;
- return CTransaction();
+ return CTransaction{CMutableTransaction{}};
}
}();
bool valid_mutable_tx = true;