test
This commit is contained in:
@@ -200,7 +200,7 @@ static bool rest_block(AcceptedConnection* conn,
|
||||
if (fHavePruned && !(pblockindex->nStatus & BLOCK_HAVE_DATA) && pblockindex->nTx > 0)
|
||||
throw RESTERR(HTTP_NOT_FOUND, hashStr + " not available (pruned data)");
|
||||
|
||||
if (!ReadBlockFromDisk(block, pblockindex))
|
||||
if (!ReadBlockFromDisk(block, pblockindex,0))
|
||||
throw RESTERR(HTTP_NOT_FOUND, hashStr + " not found");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user