aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-10-05 10:38:10 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-10-05 10:38:10 -0400
commitb898c8fce687de9320bfae8dd2392e92c5464831 (patch)
tree0eae81bd8a40703143a5bbe74ce6648ca0b143c7 /src/bitcoinrpc.cpp
parent8bc52d069247b3c7968bbb5c9ced9e6a7baa57e8 (diff)
parent452506fc4153be072fe443fe3e3cbf76d9563a42 (diff)
downloadbitcoin-b898c8fce687de9320bfae8dd2392e92c5464831.tar.xz
Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoin
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index 1912e76fb3..a2a90d69e8 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))