Even heights with constraint so ac_supply is unlocked

This commit is contained in:
jl777
2019-01-12 00:37:41 -11:00
parent 99f0709686
commit c0a9c015ad
2 changed files with 4 additions and 2 deletions

View File

@@ -119,6 +119,8 @@ int32_t MarmaraValidateCoinbase(int32_t height,CTransaction tx)
for (ht=0; ht<10000; ht+=MARMARA_GROUPSIZE/3)
fprintf(stderr,"%d ",MarmaraUnlockht(ht));
fprintf(stderr,"<- unlock hts\n");
if ( (height & 1) != 0 )
return(0);
if ( tx.vout.size() == 2 && tx.vout[1].nValue == 0 )
{
if ( DecodeMaramaraCoinbaseOpRet(tx.vout[1].scriptPubKey,pk,ht,unlockht) == 'C' )