-sleep
This commit is contained in:
@@ -543,7 +543,7 @@ playit(struct rogue_state *rs)
|
|||||||
{
|
{
|
||||||
if ( rs->replaydone != 0 )
|
if ( rs->replaydone != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"replaydone\n"); sleep(3);
|
//fprintf(stderr,"replaydone\n"); sleep(3);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( rs->sleeptime != 0 )
|
if ( rs->sleeptime != 0 )
|
||||||
|
|||||||
@@ -948,8 +948,8 @@ UniValue rogue_players(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
|||||||
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
|
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
|
||||||
roguepk = GetUnspendable(cp,0);
|
roguepk = GetUnspendable(cp,0);
|
||||||
mypk = pubkey2pk(Mypubkey());
|
mypk = pubkey2pk(Mypubkey());
|
||||||
GetCCaddress(cp,coinaddr,mypk);
|
GetTokensCCaddress(cp,coinaddr,mypk);
|
||||||
SetCCunspents(unspentOutputs,"RLxgD7gu5XEbzPkFWVLDV38CrfXwqfz73z");//coinaddr);
|
SetCCunspents(unspentOutputs,coinaddr);
|
||||||
rogue_univalue(result,"players",-1,-1);
|
rogue_univalue(result,"players",-1,-1);
|
||||||
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user