X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Futil.cpp;fp=src%2Futil.cpp;h=afb0324515b018815e7d84dd08faf10ab97a5dc7;hp=b1e1607b83947ff660fb936c8251fdbc8bf010aa;hb=82597c35e97568d9d53983211cdf29621cefdb51;hpb=7a8e4d590a4551516dee5722f520301e4b17ede6 diff --git a/src/util.cpp b/src/util.cpp index b1e1607..afb0324 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -4,9 +4,9 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "util.h" +#include "interface.h" #include "sync.h" #include "version.h" -#include "interface.h" #include #include // for to_lower() @@ -178,18 +178,6 @@ int GetRandInt(int nMax) return static_cast(GetRand(nMax)); } -uint256 GetRandHash() -{ - uint256 hash; - RAND_bytes((unsigned char*)&hash, sizeof(hash)); - return hash; -} - - - - - - static FILE* fileout = NULL; inline int OutputDebugStringF(const char* pszFormat, ...)