Coinbaseopret
This commit is contained in:
@@ -139,12 +139,12 @@ CScript Marmara_scriptPubKey(int32_t height,CPubKey pk)
|
||||
return(ccvout.scriptPubKey);
|
||||
}
|
||||
|
||||
CScript MarmaraCoinbaseOpret(int32_t height,CPubKey pk)
|
||||
CScript MarmaraCoinbaseOpret(uint8_t funcid,int32_t height,CPubKey pk)
|
||||
{
|
||||
uint8_t *ptr;
|
||||
//fprintf(stderr,"height.%d pksize.%d\n",height,(int32_t)pk.size());
|
||||
if ( height > 0 && (height & 1) == 0 && pk.size() == 33 )
|
||||
return(EncodeMarmaraCoinbaseOpRet('C',pk,height));
|
||||
return(EncodeMarmaraCoinbaseOpRet(funcid,pk,height));
|
||||
return(CScript());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user