From ea42219781286b5e0427553c69c82943ff2b31af Mon Sep 17 00:00:00 2001 From: lateminer Date: Wed, 24 Oct 2018 23:32:35 +0300 Subject: [PATCH] Prettify coinstake rejecting error message in AcceptToMemoryPoolWorker() main.cpp --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 0ae196ef7..757f212ce 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1171,8 +1171,7 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState& state, const C // Coinstake is also only valid in a block, not as a loose transaction if (tx.IsCoinStake()) - return state.DoS(100, error("AcceptToMemoryPool: coinstake as individual tx"), - REJECT_INVALID, "coinstake"); + return state.DoS(100, false, REJECT_INVALID, "coinstake"); // Don't relay version 2 transactions until CSV is active, and we can be // sure that such transactions will be mined (unless we're on