Skip to content

Commit

Permalink
Fix mempool acceptance of exchange address transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
psolstice committed Nov 23, 2023
1 parent 117b128 commit 94ffa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 94ffa64

Please sign in to comment.