EVAL_MARMARA

This commit is contained in:
jl777
2019-01-15 04:47:12 -11:00
parent 7faabcef68
commit 6206090faa

View File

@@ -302,7 +302,7 @@ int64_t AddMarmaraCoinbases(struct CCcontract_info *cp,CMutableTransaction &mtx,
char coinaddr[64]; CPubKey Marmarapk,pk; int64_t nValue,totalinputs = 0; uint256 txid,hashBlock; CTransaction vintx; int32_t unlockht,ht,vout,unlocks,n = 0;
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
Marmarapk = GetUnspendable(cp,0);
MakeCC1of2vout(cp,coinaddr,Marmarapk,poolpk);
MakeCC1of2vout(EVAL_MARMARA,coinaddr,Marmarapk,poolpk);
SetCCunspents(unspentOutputs,coinaddr);
unlocks = MarmaraUnlockht(firstheight);
//fprintf(stderr,"check coinaddr.(%s)\n",coinaddr);