diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index 0e3c0328c..910088f45 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -290,8 +290,8 @@ std::string CreateAssetTransfer(uint256 assetid,std::vector origpubkey, { std::string hex; CMutableTransaction mtx; CPubKey pk; CTransaction vintx; uint256 hashBlock; uint64_t nValue,change,txfee=10000; int32_t i,n; uint8_t *pubkey33,*dest; n = origpubkey.size(); - pk.resize(n); - dest = pk.begin(); + //pk.resize(n); + dest = (uint8_t *)pk.begin(); pubkey33 = (uint8_t *)origpubkey.data(); for (i=0; i