diff options
| author | Philip Kaufmann <[email protected]> | 2014-09-08 12:25:52 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-09-09 11:31:17 +0200 |
| commit | 2c2cc5dac1102c1eb86c7dd825a893ab388abba1 (patch) | |
| tree | 8119c85384c9007547cbf3e15ab8cdc52c2791e1 /src/txmempool.cpp | |
| parent | netbase: Use .data() instead of .c_str() on binary string (diff) | |
| download | discoin-2c2cc5dac1102c1eb86c7dd825a893ab388abba1.tar.xz discoin-2c2cc5dac1102c1eb86c7dd825a893ab388abba1.zip | |
Remove some unnecessary c_strs() in logging and the GUI
Includes `core: remove unneeded c_str() / Qt: replace c_str() with Qt code`
by P. Kaufmann.
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 238d5bab1..28339837b 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -606,7 +606,7 @@ void CTxMemPool::PrioritiseTransaction(const uint256 hash, const string strHash, deltas.first += dPriorityDelta; deltas.second += nFeeDelta; } - LogPrintf("PrioritiseTransaction: %s priority += %f, fee += %d\n", strHash.c_str(), dPriorityDelta, nFeeDelta); + LogPrintf("PrioritiseTransaction: %s priority += %f, fee += %d\n", strHash, dPriorityDelta, nFeeDelta); } void CTxMemPool::ApplyDeltas(const uint256 hash, double &dPriorityDelta, int64_t &nFeeDelta) |