Skip to content

Commit 0184cf7

Browse files
author
Evan Duffield
committed
Merged: fix CDarksendQueue::CheckSignature() failure by preventing COutPoint::ToString() to cut hash to 10 symbols only (UdjinM6)
1 parent 56bf9fd commit 0184cf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
std::string COutPoint::ToString() const
1212
{
13-
return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,10), n);
13+
return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,64), n);
1414
}
1515

1616
void COutPoint::print() const

src/darksend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ bool CDarksendQueue::CheckSignature()
20852085

20862086
std::string errorMessage = "";
20872087
if(!darkSendSigner.VerifyMessage(mn.pubkey2, vchSig, strMessage, errorMessage)){
2088-
return error("Got bad masternode address signature %s \n", vin.ToString().c_str());
2088+
return error("CDarksendQueue::CheckSignature() - Got bad masternode address signature %s \n", vin.ToString().c_str());
20892089
}
20902090

20912091
return true;

0 commit comments

Comments
 (0)