Skip to content

Commit 2396e6b

Browse files
committed
[fuzz] Add ContextualCheckTransaction call to transaction target.
1 parent f0887a0 commit 2396e6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/fuzz/transaction.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ void test_one_input(std::vector<uint8_t> buffer)
7272
std::string reason;
7373
IsStandardTx(ptx, nBlockHeight,reason);
7474

75+
CValidationState contextualCheckState;
76+
ContextualCheckTransaction(ptx, contextualCheckState, Params(), nBlockHeight, true, false);
77+
7578
(void)tx.GetHash();
7679
(void)tx.GetTotalSize();
7780
try {

0 commit comments

Comments
 (0)