diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index c315b8879..5c4e70863 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -289,7 +289,7 @@ std::string CreateAsset(CPubKey pk,uint64_t assetsupply,uint256 utxotxid,int32_t std::string CreateAssetTransfer(uint256 assetid,const std::vector origpubkey,uint256 utxotxid,int32_t utxovout) { std::string hex; CMutableTransaction mtx; CPubKey pk; CTransaction vintx; uint256 hashBlock; uint64_t nValue,change,txfee=10000; - pk.Set(origpubkey); + pk.CPubKey(origpubkey); if ( GetTransaction(utxotxid,vintx,hashBlock,false) != 0 ) { nValue = vintx.vout[utxovout].nValue;