aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-21 16:52:14 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-02 15:27:20 +0200
commitfa477d32eefcc3dd2f06b452066290d9936d8c5d (patch)
tree4cffc18bae9b48a17213ec50b0f9ef631e1d6cbb /src/test/fuzz
parentfa2f6c1a611dffe5a3f63fe1b453f1dd420371b1 (diff)
Remove ::GetVirtualTransactionSize() alias
Each alias is only used in one place.
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/integer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/fuzz/integer.cpp b/src/test/fuzz/integer.cpp
index 72574612a2..c52fca5fe8 100644
--- a/src/test/fuzz/integer.cpp
+++ b/src/test/fuzz/integer.cpp
@@ -87,9 +87,6 @@ FUZZ_TARGET_INIT(integer, initialize_integer)
}
(void)GetSizeOfCompactSize(u64);
(void)GetSpecialScriptSize(u32);
- if (!MultiplicationOverflow(i64, static_cast<int64_t>(::nBytesPerSigOp)) && !AdditionOverflow(i64 * ::nBytesPerSigOp, static_cast<int64_t>(4))) {
- (void)GetVirtualTransactionSize(i64, i64);
- }
if (!MultiplicationOverflow(i64, static_cast<int64_t>(u32)) && !AdditionOverflow(i64, static_cast<int64_t>(4)) && !AdditionOverflow(i64 * u32, static_cast<int64_t>(4))) {
(void)GetVirtualTransactionSize(i64, i64, u32);
}