From 81a6e1d4a5b94339d5e12ee861efd717c1b275f2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Jul 2018 01:52:11 -1100 Subject: [PATCH] Test --- src/cc/assets.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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