mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
uint256: Remove unnecessary crypto/common.h use
This commit is contained in:
parent
cb25cd6aa1
commit
bf2e010973
5 changed files with 21 additions and 18 deletions
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
int RandomInt(int nMax) override
|
||||
{
|
||||
state = (CHashWriter(SER_GETHASH, 0) << state).GetHash().GetCheapHash();
|
||||
state = (CHashWriter(SER_GETHASH, 0) << state).GetCheapHash();
|
||||
return (unsigned int)(state % nMax);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue