-insync test for getNSPV

This commit is contained in:
jl777
2019-08-11 23:29:46 -11:00
parent 450ac5c5ea
commit 0c680e0dbc
2 changed files with 2 additions and 2 deletions

View File

@@ -423,7 +423,7 @@ int32_t NSPV_gettxproof(struct NSPV_txproof *ptr,int32_t vout,uint256 txid,int32
else
{
ptr->height = height;
if ((pindex= komodo_chainactive(height)) != 0 && komodo_blockload(block,pindex) == 0 )
if ( (pindex= komodo_chainactive(height)) != 0 && komodo_blockload(block,pindex) == 0 )
{
BOOST_FOREACH(const CTransaction&tx, block.vtx)
{

View File

@@ -7503,7 +7503,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
else if (strCommand == "getnSPV")
{
if ( KOMODO_NSPV == 0 && KOMODO_INSYNC != 0 )
if ( KOMODO_NSPV == 0 )//&& KOMODO_INSYNC != 0 )
{
std::vector<uint8_t> payload;
vRecv >> payload;