first time changed eval usage and MakeTokenCCcond.. for assets

This commit is contained in:
dimxy
2019-01-15 20:55:26 +05:00
parent 4379cffe74
commit 8d8b253138
6 changed files with 77 additions and 48 deletions

View File

@@ -646,6 +646,7 @@ template <typename Helper> UniValue HeirFund(uint64_t txfee, int64_t amount, std
mtx.vout.push_back(Helper::make1of2Vout(amount, myPubkey, heirPubkey));
// add a marker for finding all plans in HeirList()
// TODO: change marker either to cc or normal txidaddr unspendable
CPubKey heirUnspendablePubKey = GetUnspendable(cp, 0);
mtx.vout.push_back(CTxOut(txfee, CScript() << ParseHex(HexStr(heirUnspendablePubKey)) << OP_CHECKSIG)); // TODO: do we need this marker?