mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Replace HexBits with strprintf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user