diff options
author | Nils Schneider <nils.schneider@gmail.com> | 2011-09-27 20:16:07 +0200 |
---|---|---|
committer | Nils Schneider <nils.schneider@gmail.com> | 2011-09-30 20:00:22 +0200 |
commit | 6ccff2cbdebca38e4913b679784a4865edfbb12a (patch) | |
tree | e13e71eb80ffa412810edcae47eea4f2b86e5b2d /src/bitcoinrpc.cpp | |
parent | f4769e44a326f61bdf47fa39346e1293b97e31c4 (diff) |
remove cryptopp dependency, add simple unittest for SHA256Transform()
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r-- | src/bitcoinrpc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 1e7ffe6310..3ceaebd770 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -4,7 +4,6 @@ // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include "headers.h" -#include "cryptopp/sha.h" #include "db.h" #include "net.h" #include "init.h" @@ -1628,7 +1627,7 @@ Value getwork(const Array& params, bool fHelp) // Byte reverse for (int i = 0; i < 128/4; i++) - ((unsigned int*)pdata)[i] = CryptoPP::ByteReverse(((unsigned int*)pdata)[i]); + ((unsigned int*)pdata)[i] = ByteReverse(((unsigned int*)pdata)[i]); // Get saved block if (!mapNewBlock.count(pdata->hashMerkleRoot)) |