From 02cd0e2b5b5c33577ca9dfffbb69cea8cd9a6b5e Mon Sep 17 00:00:00 2001 From: psolstice Date: Thu, 23 Nov 2023 19:00:51 +0100 Subject: [PATCH] Fix mempool acceptance of exchange address transactions (#1364) --- 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())