CCerror = "";
This commit is contained in:
@@ -751,7 +751,7 @@ bool DicePlanExists(CScript &fundingPubKey,uint256 &fundingtxid,struct CCcontrac
|
|||||||
SetCCtxids(txids,cp->normaladdr);
|
SetCCtxids(txids,cp->normaladdr);
|
||||||
if ( fundingtxid != zeroid ) // avoid scan unless creating new funding plan
|
if ( fundingtxid != zeroid ) // avoid scan unless creating new funding plan
|
||||||
{
|
{
|
||||||
fprintf(stderr,"check fundingtxid\n");
|
//fprintf(stderr,"check fundingtxid\n");
|
||||||
if ( GetTransaction(fundingtxid,tx,hashBlock,false) != 0 && tx.vout.size() > 1 && ConstrainVout(tx.vout[0],1,CCaddr,0) != 0 )
|
if ( GetTransaction(fundingtxid,tx,hashBlock,false) != 0 && tx.vout.size() > 1 && ConstrainVout(tx.vout[0],1,CCaddr,0) != 0 )
|
||||||
{
|
{
|
||||||
if ( DecodeDiceFundingOpRet(tx.vout[tx.vout.size()-1].scriptPubKey,sbits,minbet,maxbet,maxodds,timeoutblocks) == 'F' && sbits == refsbits )
|
if ( DecodeDiceFundingOpRet(tx.vout[tx.vout.size()-1].scriptPubKey,sbits,minbet,maxbet,maxodds,timeoutblocks) == 'F' && sbits == refsbits )
|
||||||
|
|||||||
@@ -4836,6 +4836,7 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt
|
|||||||
int32_t ensure_CCrequirements()
|
int32_t ensure_CCrequirements()
|
||||||
{
|
{
|
||||||
extern uint8_t NOTARY_PUBKEY33[];
|
extern uint8_t NOTARY_PUBKEY33[];
|
||||||
|
CCerror = "";
|
||||||
if ( NOTARY_PUBKEY33[0] == 0 )
|
if ( NOTARY_PUBKEY33[0] == 0 )
|
||||||
return(-1);
|
return(-1);
|
||||||
else if ( GetBoolArg("-addressindex", DEFAULT_ADDRESSINDEX) == 0 )
|
else if ( GetBoolArg("-addressindex", DEFAULT_ADDRESSINDEX) == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user