From 94ffa64b9341ec3769f64876613412dfdab33451 Mon Sep 17 00:00:00 2001 From: Peter Shugalev Date: Thu, 23 Nov 2023 11:38:14 +0100 Subject: [PATCH] Fix mempool acceptance of exchange address transactions --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.cpp b/src/validation.cpp index f7b5db1653..f5c542cd53 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -723,7 +723,7 @@ bool CheckTransaction(const CTransaction &tx, CValidationState &state, bool fChe LOCK(cs_main); nTxHeight = chainActive.Height(); } - if (hasExchangeUTXOs && !isCheckWallet && !isVerifyDB && nTxHeight < ::Params().GetConsensus().nExchangeAddressStartBlock) + if (hasExchangeUTXOs && !isVerifyDB && nTxHeight < ::Params().GetConsensus().nExchangeAddressStartBlock) return state.DoS(100, false, REJECT_INVALID, "bad-exchange-address"); if (tx.IsCoinBase())