diff options
| author | Gavin Andresen <[email protected]> | 2014-02-26 12:16:03 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-02-26 12:16:03 -0500 |
| commit | e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d (patch) | |
| tree | 9453db3d22436dcd60c45ce880ecf7c0b683850f /src/core.cpp | |
| parent | Merge pull request #3736 (diff) | |
| parent | Remove definition of PRI?64 in util.h (diff) | |
| download | discoin-e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d.tar.xz discoin-e3e65d29b70c64808b3ab5c58ce0b3bcefaadc5d.zip | |
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 f5c460761..cbdd24e80 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 |