diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-02-05 10:53:33 -0500 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-02-08 10:50:13 -0500 |
commit | c04e0f607a305092f336f3a77a91f9e23463943e (patch) | |
tree | 406bab9c5bb2485d7acf93722e2c6892f1501256 /src | |
parent | 663911ed581d2ab40f49fdc232f189d92264d45a (diff) |
Fix 'mempool min fee not met' debug output
Output the value that is tested, rather than the unmodified fee value.
Diffstat (limited to 'src')
-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 978aaf7d06..35f35e19d7 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -712,7 +712,7 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool CAmount mempoolRejectFee = pool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000).GetFee(nSize); if (!bypass_limits && mempoolRejectFee > 0 && nModifiedFees < mempoolRejectFee) { - return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "mempool min fee not met", false, strprintf("%d < %d", nFees, mempoolRejectFee)); + return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "mempool min fee not met", false, strprintf("%d < %d", nModifiedFees, mempoolRejectFee)); } // No transactions are allowed below minRelayTxFee except from disconnected blocks |