&
This commit is contained in:
@@ -515,6 +515,7 @@ bool DicePlanExists(CScript &fundingPubKey,uint256 &fundingtxid,struct CCcontrac
|
||||
if ( DecodeDiceFundingOpRet(tx.vout[tx.vout.size()-1].scriptPubKey,sbits,minbet,maxbet,maxodds,timeoutblocks) == 'F' && sbits == refsbits )
|
||||
{
|
||||
fundingPubKey = tx.vout[1].scriptPubKey;
|
||||
fprintf(stderr,"set fundingPubKey[%d]\n",(int32_t)fundingPubKey.size());
|
||||
return(true);
|
||||
}
|
||||
}
|
||||
@@ -542,7 +543,7 @@ bool DicePlanExists(CScript &fundingPubKey,uint256 &fundingtxid,struct CCcontrac
|
||||
return(false);
|
||||
}
|
||||
|
||||
struct CCcontract_info *Diceinit(CScript fundingPubKey,uint256 reffundingtxid,struct CCcontract_info *C,char *planstr,uint64_t &txfee,CPubKey &mypk,CPubKey &dicepk,uint64_t &sbits,int64_t &minbet,int64_t &maxbet,int64_t &maxodds,int64_t &timeoutblocks)
|
||||
struct CCcontract_info *Diceinit(CScript &fundingPubKey,uint256 reffundingtxid,struct CCcontract_info *C,char *planstr,uint64_t &txfee,CPubKey &mypk,CPubKey &dicepk,uint64_t &sbits,int64_t &minbet,int64_t &maxbet,int64_t &maxodds,int64_t &timeoutblocks)
|
||||
{
|
||||
struct CCcontract_info *cp; int32_t cmpflag;
|
||||
cp = CCinit(C,EVAL_DICE);
|
||||
|
||||
Reference in New Issue
Block a user