This commit is contained in:
jl777
2019-01-12 02:21:32 -11:00
parent 0638d3b056
commit f3b0e439c3

View File

@@ -152,7 +152,7 @@ int32_t MarmaraValidateCoinbase(int32_t height,CTransaction tx)
{
struct CCcontract_info *cp,C; CPubKey pk; int32_t ht,unlockht; CTxOut ccvout;
cp = CCinit(&C,EVAL_MARMARA);
if ( 1 )
if ( 0 )
{
int32_t d,histo[365*2+30];
memset(histo,0,sizeof(histo));
@@ -178,6 +178,7 @@ int32_t MarmaraValidateCoinbase(int32_t height,CTransaction tx)
{
if ( ht == height && MarmaraUnlockht(height) == unlockht )
{
fprintf(stderr,"ht.%d -> unlock.%d\n",ht,unlockht);
ccvout = MakeCC1vout(EVAL_MARMARA,0,pk);
if ( ccvout.scriptPubKey == tx.vout[0].scriptPubKey )
return(0);