Prettify coinstake rejecting error message in AcceptToMemoryPoolWorker()
main.cpp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user