aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristaps Kaupe <kristaps@blogiem.lv>2018-04-20 02:47:13 +0300
committerKristaps Kaupe <kristaps@blogiem.lv>2018-04-20 02:47:13 +0300
commit1accfbcf465db19a9482d2ba129a66ded316f46e (patch)
tree21bf44804ddc14562cc177a4a42a09670e8408f7 /src
parent0a8b7b4b33c9d78574627fc606267e2d8955cd1c (diff)
Output values for "min relay fee not met" error
Diffstat (limited to 'src')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index daa33d3f5a..0ad61ca729 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -720,7 +720,7 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool
// No transactions are allowed below minRelayTxFee except from disconnected blocks
if (!bypass_limits && nModifiedFees < ::minRelayTxFee.GetFee(nSize)) {
- return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "min relay fee not met");
+ return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "min relay fee not met", false, strprintf("%d < %d", nModifiedFees, ::minRelayTxFee.GetFee(nSize)));
}
if (nAbsurdFee && nFees > nAbsurdFee)