This commit is contained in:
jl777
2019-02-10 05:15:22 -11:00
parent 3b9b9191f3
commit 24c390a0cd
2 changed files with 3 additions and 3 deletions

View File

@@ -543,7 +543,7 @@ playit(struct rogue_state *rs)
{
if ( rs->replaydone != 0 )
{
fprintf(stderr,"replaydone\n"); sleep(3);
//fprintf(stderr,"replaydone\n"); sleep(3);
return;
}
if ( rs->sleeptime != 0 )

View File

@@ -948,8 +948,8 @@ UniValue rogue_players(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
roguepk = GetUnspendable(cp,0);
mypk = pubkey2pk(Mypubkey());
GetCCaddress(cp,coinaddr,mypk);
SetCCunspents(unspentOutputs,"RLxgD7gu5XEbzPkFWVLDV38CrfXwqfz73z");//coinaddr);
GetTokensCCaddress(cp,coinaddr,mypk);
SetCCunspents(unspentOutputs,coinaddr);
rogue_univalue(result,"players",-1,-1);
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
{