aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2014-05-21 18:50:46 +0800
committerR E Broadley <rebroad+github@gmail.com>2014-05-22 00:23:03 +0700
commit79d06dc6e07103b31b530f71b7187ea82c34266b (patch)
tree8a01bf8e5bc367115d4b58a7969b44c35cabe096 /src/wallet.h
parent6fcdad787f1fb381a3a0fe6b1a1e45477426dccb (diff)
downloadbitcoin-79d06dc6e07103b31b530f71b7187ea82c34266b.tar.xz
Remove redundant c_str
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h
index b2c06d3f61..81dfbba9cb 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -720,12 +720,12 @@ public:
std::string ToString() const
{
- return strprintf("COutput(%s, %d, %d) [%s]", tx->GetHash().ToString().c_str(), 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).c_str());
}
void print() const
{
- LogPrintf("%s\n", ToString().c_str());
+ LogPrintf("%s\n", ToString());
}
};