diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-12 13:52:51 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-12 14:01:48 +0200 |
| commit | c3ad56f4e0b587d8d763af03d743fdfc2d180c9b (patch) | |
| tree | 2d2b7e758ff288d0b273a33c9dc942f20e47a631 /src/core.cpp | |
| parent | Merge pull request #4165 (diff) | |
| parent | Remove dummy PRIszX macros for formatting (diff) | |
| download | discoin-c3ad56f4e0b587d8d763af03d743fdfc2d180c9b.tar.xz discoin-c3ad56f4e0b587d8d763af03d743fdfc2d180c9b.zip | |
Merge pull request #4138
783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
Diffstat (limited to 'src/core.cpp')
| -rw-r--r-- | src/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.cpp b/src/core.cpp index cbdd24e80..7651ce995 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -140,7 +140,7 @@ double CTransaction::ComputePriority(double dPriorityInputs, unsigned int nTxSiz std::string CTransaction::ToString() const { std::string str; - str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%u)\n", + str += strprintf("CTransaction(hash=%s, ver=%d, vin.size=%u, vout.size=%u, nLockTime=%u)\n", GetHash().ToString().substr(0,10), nVersion, vin.size(), @@ -269,7 +269,7 @@ uint256 CBlock::CheckMerkleBranch(uint256 hash, const std::vector<uint256>& vMer void CBlock::print() const { - LogPrintf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu")\n", + LogPrintf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%u)\n", GetHash().ToString(), nVersion, hashPrevBlock.ToString(), |