Skip to content

Commit 4ac9589

Browse files
committed
fix: preconf transaction network issue on receive
1 parent 68135af commit 4ac9589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4470,7 +4470,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
44704470
Assume(!package_to_validate.has_value());
44714471

44724472
bool is_preconfirm = msg_type == NetMsgType::PRETX ? true : false;
4473-
const MempoolAcceptResult result = m_chainman.ProcessTransaction(ptx, is_preconfirm);
4473+
const MempoolAcceptResult result = m_chainman.ProcessTransaction(ptx, false, is_preconfirm);
44744474
const TxValidationState& state = result.m_state;
44754475

44764476
if (result.m_result_type == MempoolAcceptResult::ResultType::VALID) {

0 commit comments

Comments
 (0)