diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-26 12:16:03 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-02-26 12:16:03 -0500 |
commit | e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d (patch) | |
tree | 9453db3d22436dcd60c45ce880ecf7c0b683850f /src/core.cpp | |
parent | 3480bf7c650bb14a31020c3ef33e76edea650e13 (diff) | |
parent | 2f5da74362fb65201f1403bba3c63ce5e9d024e7 (diff) |
Merge pull request #3735 from laanwj/2014_02_remove_PRIx64_completely
Remove PRIx64 usage completely
Diffstat (limited to 'src/core.cpp')
-rw-r--r-- | src/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.cpp b/src/core.cpp index f5c460761e..cbdd24e806 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -64,7 +64,7 @@ uint256 CTxOut::GetHash() const std::string CTxOut::ToString() const { - return strprintf("CTxOut(nValue=%"PRId64".%08"PRId64", scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30)); + return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, scriptPubKey.ToString().substr(0,30)); } void CTxOut::print() const |