Skip to content

Commit 754d33c

Browse files
committed
fix: print MN protxhash instead of collateral outpoint
1 parent 3902746 commit 754d33c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3456,12 +3456,12 @@ std::pair<bool /*ret*/, bool /*do_return*/> static ValidateDSTX(CDeterministicMN
34563456
}
34573457

34583458
if (!dmn) {
3459-
LogPrint(BCLog::COINJOIN, "DSTX -- Can't find masternode %s to verify %s\n", dstx.masternodeOutpoint.ToStringShort(), hashTx.ToString());
3459+
LogPrint(BCLog::COINJOIN, "DSTX -- Can't find masternode %s to verify %s\n", dstx.m_protxHash.ToString(), hashTx.ToString());
34603460
return {false, true};
34613461
}
34623462

34633463
if (!mn_metaman.GetMetaInfo(dmn->proTxHash)->IsValidForMixingTxes()) {
3464-
LogPrint(BCLog::COINJOIN, "DSTX -- Masternode %s is sending too many transactions %s\n", dstx.masternodeOutpoint.ToStringShort(), hashTx.ToString());
3464+
LogPrint(BCLog::COINJOIN, "DSTX -- Masternode %s is sending too many transactions %s\n", dstx.m_protxHash.ToString(), hashTx.ToString());
34653465
return {true, true};
34663466
// TODO: Not an error? Could it be that someone is relaying old DSTXes
34673467
// we have no idea about (e.g we were offline)? How to handle them?

0 commit comments

Comments
 (0)