corr CCaddr2set for tokens support in FillSell
This commit is contained in:
@@ -742,14 +742,14 @@ std::string FillSell(int64_t txfee,uint256 assetid,uint256 assetid2,uint256 askt
|
|||||||
//mtx.vout.push_back(MakeCC1vout(EVAL_ASSETS, CCchange, mypk)); //vout.3 coins in Assets cc addr (swap not implemented)
|
//mtx.vout.push_back(MakeCC1vout(EVAL_ASSETS, CCchange, mypk)); //vout.3 coins in Assets cc addr (swap not implemented)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* uint8_t unspendableAssetsPrivkey[32];
|
uint8_t unspendableAssetsPrivkey[32];
|
||||||
char unspendableAssetsAddr[64];
|
char unspendableAssetsAddr[64];
|
||||||
// init 'unspenable' privkey and pubkey
|
// init 'unspenable' privkey and pubkey
|
||||||
CPubKey unspendableAssetsPk = GetUnspendable(cpAssets, unspendableAssetsPrivkey);
|
CPubKey unspendableAssetsPk = GetUnspendable(cpAssets, unspendableAssetsPrivkey);
|
||||||
GetCCaddress(cpAssets, unspendableAssetsAddr, unspendableAssetsPk);
|
GetCCaddress(cpAssets, unspendableAssetsAddr, unspendableAssetsPk);
|
||||||
|
|
||||||
// add additional unspendable addr from Assets:
|
// add additional dual-eval (assets+tokens) unspendable assets address's privkey:
|
||||||
CCaddr2set(cpAssets, EVAL_ASSETS, unspendableAssetsPk, unspendableAssetsPrivkey, unspendableAssetsAddr);*/
|
CCaddr2set(cpAssets, EVAL_TOKENS, unspendableAssetsPk, unspendableAssetsPrivkey, unspendableAssetsAddr);
|
||||||
|
|
||||||
// vout verification pubkeys:
|
// vout verification pubkeys:
|
||||||
std::vector<CPubKey> voutTokenPubkeys;
|
std::vector<CPubKey> voutTokenPubkeys;
|
||||||
|
|||||||
Reference in New Issue
Block a user