-insync test for getNSPV
This commit is contained in:
@@ -423,7 +423,7 @@ int32_t NSPV_gettxproof(struct NSPV_txproof *ptr,int32_t vout,uint256 txid,int32
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ptr->height = height;
|
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)
|
BOOST_FOREACH(const CTransaction&tx, block.vtx)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7503,7 +7503,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
}
|
}
|
||||||
else if (strCommand == "getnSPV")
|
else if (strCommand == "getnSPV")
|
||||||
{
|
{
|
||||||
if ( KOMODO_NSPV == 0 && KOMODO_INSYNC != 0 )
|
if ( KOMODO_NSPV == 0 )//&& KOMODO_INSYNC != 0 )
|
||||||
{
|
{
|
||||||
std::vector<uint8_t> payload;
|
std::vector<uint8_t> payload;
|
||||||
vRecv >> payload;
|
vRecv >> payload;
|
||||||
|
|||||||
Reference in New Issue
Block a user