aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-06-27 13:28:08 +0200
committerjtimon <jtimon@monetize.io>2014-06-28 13:19:14 +0200
commit645d497aa0010525441ce409e8e6d327a157ab39 (patch)
tree6db39432eca73273d62743c6e2cd3e978ccd0e58 /src/rpcserver.cpp
parentba81f4560736861866822ebda2a8fbc4525d8da4 (diff)
Replace HexBits with strprintf
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 54043458d5..6a87c8bf99 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -97,16 +97,6 @@ Value ValueFromAmount(int64_t amount)
return (double)amount / (double)COIN;
}
-std::string HexBits(unsigned int nBits)
-{
- union {
- int32_t nBits;
- char cBits[4];
- } uBits;
- uBits.nBits = htonl((int32_t)nBits);
- return HexStr(BEGIN(uBits.cBits), END(uBits.cBits));
-}
-
uint256 ParseHashV(const Value& v, string strName)
{
string strHex;