pnode
This commit is contained in:
@@ -219,12 +219,12 @@ struct NSPV_spentinfo komodo_NSPV_spentinfo(uint256 txid,int32_t vout) // just a
|
|||||||
{
|
{
|
||||||
if ( pnode->hSocket == INVALID_SOCKET )
|
if ( pnode->hSocket == INVALID_SOCKET )
|
||||||
continue;
|
continue;
|
||||||
if ( (pto->nServices & NODE_NSPV) != 0 && timestamp > pto->lastspent )
|
if ( (pnode->nServices & NODE_NSPV) != 0 && timestamp > pto->lastspent )
|
||||||
{
|
{
|
||||||
request.resize(1);
|
request.resize(1);
|
||||||
request[0] = NSPV_SPENTINFO;
|
request[0] = NSPV_SPENTINFO;
|
||||||
pto->lastspent = timestamp;
|
pnode->lastspent = timestamp;
|
||||||
pto->PushMessage("getnSPV",request);
|
pnode->PushMessage("getnSPV",request);
|
||||||
if ( ++numsent >= 3 )
|
if ( ++numsent >= 3 )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user