aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-09 16:39:35 +0200
committerPieter Wuille <[email protected]>2014-09-09 16:43:06 +0200
commit1575c5171fac4f3e4f3d0794ed0312a17be6d7f1 (patch)
treea7f34e8c2c5aba8fbb00ab3da26376f609acec22 /src/wallet.cpp
parentMerge pull request #4873 (diff)
parentRemove some unnecessary c_strs() in logging and the GUI (diff)
downloaddiscoin-1575c5171fac4f3e4f3d0794ed0312a17be6d7f1.tar.xz
discoin-1575c5171fac4f3e4f3d0794ed0312a17be6d7f1.zip
Merge pull request #4868
2c2cc5d Remove some unnecessary c_strs() in logging and the GUI (Philip Kaufmann) f7d0a86 netbase: Use .data() instead of .c_str() on binary string (Wladimir J. van der Laan)
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index b69ed223b..218a13796 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -44,7 +44,7 @@ struct CompareValueOnly
std::string COutput::ToString() const
{
- return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->vout[i].nValue).c_str());
+ return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString(), i, nDepth, FormatMoney(tx->vout[i].nValue));
}
const CWalletTx* CWallet::GetWalletTx(const uint256& hash) const