Skip to content

Commit dff9d2f

Browse files
committed
Merge pull request #4199
0a59723 Remove extraneous c_str (R E Broadley)
2 parents aed38cb + 0a59723 commit dff9d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4463,7 +4463,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
44634463
uint256 hash = state.vBlocksToDownload.front();
44644464
vGetData.push_back(CInv(MSG_BLOCK, hash));
44654465
MarkBlockAsInFlight(pto->GetId(), hash);
4466-
LogPrint("net", "Requesting block %s from %s\n", hash.ToString().c_str(), state.name.c_str());
4466+
LogPrint("net", "Requesting block %s from %s\n", hash.ToString(), state.name);
44674467
if (vGetData.size() >= 1000)
44684468
{
44694469
pto->PushMessage("getdata", vGetData);

0 commit comments

Comments
 (0)