Remove extraneous c_str
This commit is contained in:
parent
a99f9be0eb
commit
0a59723ff6
1 changed files with 1 additions and 1 deletions
|
@ -4445,7 +4445,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
||||||
uint256 hash = state.vBlocksToDownload.front();
|
uint256 hash = state.vBlocksToDownload.front();
|
||||||
vGetData.push_back(CInv(MSG_BLOCK, hash));
|
vGetData.push_back(CInv(MSG_BLOCK, hash));
|
||||||
MarkBlockAsInFlight(pto->GetId(), hash);
|
MarkBlockAsInFlight(pto->GetId(), hash);
|
||||||
LogPrint("net", "Requesting block %s from %s\n", hash.ToString().c_str(), state.name.c_str());
|
LogPrint("net", "Requesting block %s from %s\n", hash.ToString(), state.name);
|
||||||
if (vGetData.size() >= 1000)
|
if (vGetData.size() >= 1000)
|
||||||
{
|
{
|
||||||
pto->PushMessage("getdata", vGetData);
|
pto->PushMessage("getdata", vGetData);
|
||||||
|
|
Loading…
Add table
Reference in a new issue