diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-28 16:26:31 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-10-29 15:46:45 -0400 |
commit | 3004d5a12d09d94bfc4dee2a8e8f2291996a4aaf (patch) | |
tree | 2d4d4423e4283cbf93406d016baf2ace0b519bc3 /src/test/txvalidationcache_tests.cpp | |
parent | c428622a5bb1e37b2e6ab2c52791ac05d9271238 (diff) |
[validation] Remove fMissingInputs from AcceptToMemoryPool()
Handle this failure in the same way as all other failures: call Invalid()
with the reasons for the failure.
Diffstat (limited to 'src/test/txvalidationcache_tests.cpp')
-rw-r--r-- | src/test/txvalidationcache_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/txvalidationcache_tests.cpp b/src/test/txvalidationcache_tests.cpp index ea2ef5546f..144230b114 100644 --- a/src/test/txvalidationcache_tests.cpp +++ b/src/test/txvalidationcache_tests.cpp @@ -23,7 +23,7 @@ ToMemPool(const CMutableTransaction& tx) LOCK(cs_main); TxValidationState state; - return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), nullptr /* pfMissingInputs */, + return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), nullptr /* plTxnReplaced */, true /* bypass_limits */, 0 /* nAbsurdFee */); } |