Skip to content

Commit

Permalink
Merge pull request #86 from VitaeTeam/bigsurfix
Browse files Browse the repository at this point in the history
Fixed OSX compile error in accumulators.cpp
  • Loading branch information
MikeDeri committed Dec 16, 2020
2 parents e26ef20 + 26d6fe5 commit 250ed54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accumulators.cpp
Expand Up @@ -20,7 +20,7 @@ std::list<uint256> listAccCheckpointsNoDB;
uint32_t ParseChecksum(uint256 nChecksum, CoinDenomination denomination)
{
//shift to the beginning bit of this denomination and trim any remaining bits by returning 32 bits only
int pos = distance(zerocoinDenomList.begin(), find(zerocoinDenomList.begin(), zerocoinDenomList.end(), denomination));
int pos = std::distance(zerocoinDenomList.begin(), find(zerocoinDenomList.begin(), zerocoinDenomList.end(), denomination));
nChecksum = nChecksum >> (32*((zerocoinDenomList.size() - 1) - pos));
return nChecksum.Get32();
}
Expand Down

0 comments on commit 250ed54

Please sign in to comment.