Test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user