fix
This commit is contained in:
@@ -4343,7 +4343,11 @@ void static ProcessGetData(CNode* pfrom)
|
||||
// Send block from disk
|
||||
CBlock block;
|
||||
if (!ReadBlockFromDisk(block, (*mi).second))
|
||||
{
|
||||
assert(!"cannot load block from disk");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (inv.type == MSG_BLOCK)
|
||||
pfrom->PushMessage("block", block);
|
||||
else // MSG_FILTERED_BLOCK)
|
||||
@@ -4367,7 +4371,7 @@ void static ProcessGetData(CNode* pfrom)
|
||||
// else
|
||||
// no response
|
||||
}
|
||||
|
||||
}
|
||||
// Trigger the peer node to send a getblocks request for the next batch of inventory
|
||||
if (inv.hash == pfrom->hashContinue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user