diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index 695ba1096..50b25b2b6 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -286,15 +286,10 @@ std::string CreateAsset(CPubKey pk,uint64_t assetsupply,uint256 utxotxid,int32_t return(0); } -std::string CreateAssetTransfer(uint256 assetid,CPubKey pk,uint256 utxotxid,int32_t utxovout) +std::string CreateAssetTransfer(uint256 assetid,std::vector origpubkey,uint256 utxotxid,int32_t utxovout) { - std::string hex; CMutableTransaction mtx; CTransaction vintx; uint256 hashBlock; uint64_t nValue,change,txfee=10000; std::vector origpubkey; int32_t i,n; uint8_t *pubkey33,*dest; - n = pk.size(); - origpubkey.resize(n); - dest = origpubkey.data(); - pubkey33 = (uint8_t *)pk.begin(); - for (i=0; i