Skip to content

Commit

Permalink
FOR loop reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoManiac committed Apr 1, 2015
1 parent 544c4cb commit 72462d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,10 +561,8 @@ bool ScanInputForStakeKernelHash(CTransaction &tx, uint32_t nOut, uint32_t nBits

// Search forward in time from the given timestamp
// Stopping search in case of shutting down
for (unsigned int n=0; n<nSearchInterval && !fShutdown; n++)
for (uint32_t nTimeTx=nTime; nTimeTx<nTime+nSearchInterval && !fShutdown; nTimeTx++)
{
uint32_t nTimeTx = nTime + n;

// Complete first hashing iteration
uint256 hash1;
SHA256_Update(&ctxCurrent, (unsigned char*)&nTimeTx, 4);
Expand Down

0 comments on commit 72462d5

Please sign in to comment.