New netinfo tweak bracket

This commit is contained in:
jl777
2019-07-07 21:20:15 -11:00
parent a025c5d9e4
commit a8cc298d5b
5 changed files with 48 additions and 50 deletions

View File

@@ -383,8 +383,10 @@ void komodo_nSPV(CNode *pto) // polling loop from SendMessages
{
if ( timestamp > NSPV_lastinfo + ASSETCHAINS_BLOCKTIME/2 && timestamp > pto->prevtimes[NSPV_INFO>>1] + 2*ASSETCHAINS_BLOCKTIME/3 )
{
int32_t reqht = 0;
len = 0;
msg[len++] = NSPV_INFO;
len += iguana_rwnum(1,&msg[len],sizeof(reqht),&reqht);
NSPV_req(pto,msg,len,NODE_NSPV,NSPV_INFO>>1);
}
}