Skip to content

Commit

Permalink
Updated an error in block height check and add more required informat…
Browse files Browse the repository at this point in the history
…ion for testnet
  • Loading branch information
iFoggz committed Aug 8, 2017
1 parent 0360410 commit 352d8aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8459,7 +8459,8 @@ void IncrementCurrentNeuralNetworkSupermajority(std::string NeuralHash, std::str
void IncrementNeuralNetworkSupermajority(const std::string& NeuralHash, const std::string& GRCAddress, double distance, int64_t locktime)
{
if (NeuralHash.length() < 5) return;
if (fTestNet || (pindexBest->nHeight > 1000000))
if ((fTestNet && pindexBest->nHeight > 312000)
|| (!fTestNet && pindexBest->nHeight > 1001000))
{
try
{
Expand Down

4 comments on commit 352d8aa

@tomasbrod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not nHeight. nVersion. That is the point of my PR. I will verify.

@iFoggz
Copy link
Member Author

@iFoggz iFoggz commented on 352d8aa Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well it would still need to be block verified and ur acceptblock deals with v8 adn v7 this is smply verifying votes after that block

@iFoggz
Copy link
Member Author

@iFoggz iFoggz commented on 352d8aa Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function only sends neural hash grc address distance for pop % and locktime for the ntime of the block

@iFoggz
Copy link
Member Author

@iFoggz iFoggz commented on 352d8aa Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receives i mean

Please sign in to comment.