This commit is contained in:
@@ -477,7 +477,9 @@ int32_t games_event(uint32_t timestamp,uint256 gametxid,int32_t eventid,std::vec
|
|||||||
games_payloadrecv(mypk,timestamp,payload);
|
games_payloadrecv(mypk,timestamp,payload);
|
||||||
komodo_sendmessage(4,8,"events",vopret);
|
komodo_sendmessage(4,8,"events",vopret);
|
||||||
return(0);
|
return(0);
|
||||||
} else return(-1);
|
}
|
||||||
|
fprintf(stderr,"games_eventsign error\n");
|
||||||
|
return(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
UniValue games_events(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
UniValue games_events(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
||||||
|
|||||||
@@ -941,6 +941,7 @@ void komodo_sendmessage(int32_t minpeers,int32_t maxpeers,const char *message,st
|
|||||||
continue;
|
continue;
|
||||||
if ( numsent < minpeers || (rand() % 10) == 0 )
|
if ( numsent < minpeers || (rand() % 10) == 0 )
|
||||||
{
|
{
|
||||||
|
fprintf(stderr,"pushmessage\n");
|
||||||
pnode->PushMessage(message,payload);
|
pnode->PushMessage(message,payload);
|
||||||
if ( numsent++ > maxpeers )
|
if ( numsent++ > maxpeers )
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user