diff options
| author | John Newbery <[email protected]> | 2019-04-28 16:26:31 -0500 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-10-29 15:46:45 -0400 |
| commit | 3004d5a12d09d94bfc4dee2a8e8f2291996a4aaf (patch) | |
| tree | 2d4d4423e4283cbf93406d016baf2ace0b519bc3 /src/bench | |
| parent | [validation] Remove unused first_invalid parameter from ProcessNewBlockHeaders() (diff) | |
| download | discoin-3004d5a12d09d94bfc4dee2a8e8f2291996a4aaf.tar.xz discoin-3004d5a12d09d94bfc4dee2a8e8f2291996a4aaf.zip | |
[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/bench')
| -rw-r--r-- | src/bench/block_assemble.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp index a3a44e5db..2f47398d9 100644 --- a/src/bench/block_assemble.cpp +++ b/src/bench/block_assemble.cpp @@ -39,7 +39,7 @@ static void AssembleBlock(benchmark::State& state) for (const auto& txr : txs) { TxValidationState state; - bool ret{::AcceptToMemoryPool(::mempool, state, txr, nullptr /* pfMissingInputs */, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)}; + bool ret{::AcceptToMemoryPool(::mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)}; assert(ret); } } |