mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
debugging
This commit is contained in:
parent
76e36bfbea
commit
b65d718cf5
@ -295,6 +295,11 @@ bool ProcessConsensusVote(CConsensusVote& ctx)
|
||||
{
|
||||
int n = GetMasternodeRank(ctx.vinMasternode, ctx.nBlockHeight, MIN_INSTANTX_PROTO_VERSION);
|
||||
|
||||
int x = GetMasternodeByVin(ctx.vinMasternode);
|
||||
if(x != -1){
|
||||
LogPrintf("InstantX::ProcessConsensusVote - Masternode ADDR %s %d\n", vecMasternodes[x].addr.ToString().c_str(), n);
|
||||
}
|
||||
|
||||
if(n == -1)
|
||||
{
|
||||
LogPrintf("InstantX::ProcessConsensusVote - Unknown Masternode\n");
|
||||
@ -303,7 +308,7 @@ bool ProcessConsensusVote(CConsensusVote& ctx)
|
||||
|
||||
if(n > INSTANTX_SIGNATURES_TOTAL)
|
||||
{
|
||||
LogPrintf("InstantX::ProcessConsensusVote - Masternode not in the top %d (%d)\n", INSTANTX_SIGNATURES_TOTAL, n);
|
||||
LogPrintf("InstantX::ProcessConsensusVote - Masternode not in the top %d (%d) - %s\n", INSTANTX_SIGNATURES_TOTAL, n, ctx.GetHash().ToString().c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user