diff options
author | R E Broadley <rebroad+github@gmail.com> | 2014-05-21 18:50:46 +0800 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2014-05-22 00:23:03 +0700 |
commit | 79d06dc6e07103b31b530f71b7187ea82c34266b (patch) | |
tree | 8a01bf8e5bc367115d4b58a7969b44c35cabe096 /src/wallet.h | |
parent | 6fcdad787f1fb381a3a0fe6b1a1e45477426dccb (diff) |
Remove redundant c_str
Diffstat (limited to 'src/wallet.h')
-rw-r--r-- | src/wallet.h | 4 |
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()); } }; |