Browse Source

Merge #10309: Trivial: remove extra character from comment

3503716 Trivial: remove extra character from comment (CryptAxe)

Tree-SHA512: 66ee474945b4f9fd098cee0d031c1860c0777d4b05c609c0eaba32234209356b630766de30235b49d22cc5ea7cf2bb93410dea4466396369a0cdc0b631512a33
tags/v0.15.1
Pieter Wuille 4 years ago
parent
commit
ab1f1d3246
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/merkleblock.cpp

+ 1
- 1
src/merkleblock.cpp View File

@@ -65,7 +65,7 @@ uint256 CPartialMerkleTree::CalcHash(int height, unsigned int pos, const std::ve
} else {
// calculate left hash
uint256 left = CalcHash(height-1, pos*2, vTxid), right;
// calculate right hash if not beyond the end of the array - copy left hash otherwise1
// calculate right hash if not beyond the end of the array - copy left hash otherwise
if (pos*2+1 < CalcTreeWidth(height-1))
right = CalcHash(height-1, pos*2+1, vTxid);
else

Loading…
Cancel
Save