diff options
| author | MarcoFalke <[email protected]> | 2018-07-30 09:11:13 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-07-30 09:09:32 -0400 |
| commit | fa587773e59721e187cadc998f4dc236ad3aef0b (patch) | |
| tree | 7bf61adc10e630e607c33347757a98d1b674f818 /src/validation.cpp | |
| parent | tx pool: Use the entry's hash instead of the one passed to addUnchecked (diff) | |
| download | discoin-fa587773e59721e187cadc998f4dc236ad3aef0b.tar.xz discoin-fa587773e59721e187cadc998f4dc236ad3aef0b.zip | |
scripted-diff: Remove unused first argument to addUnchecked
-BEGIN VERIFY SCRIPT-
git grep -l addUnchecked | xargs sed --regexp-extended -i -e 's/addUnchecked\([^)][^,]+,\s*/addUnchecked(/g'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/validation.cpp')
| -rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 702a8d7e0..38469e1f9 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -974,7 +974,7 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool bool validForFeeEstimation = !fReplacementTransaction && !bypass_limits && IsCurrentForFeeEstimation() && pool.HasNoInputsOf(tx); // Store transaction in memory - pool.addUnchecked(hash, entry, setAncestors, validForFeeEstimation); + pool.addUnchecked(entry, setAncestors, validForFeeEstimation); // trim mempool and check if tx was trimmed if (!bypass_limits) { |