diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index 0cb238508..d78b7729a 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -298,7 +298,7 @@ std::string CreateAsset(std::vector origpubkey,uint256 utxotxid,int32_t return(0); } -std::string CreateAssetTransfer(uint256 assetid,std::vector origpubkey,uint256 utxotxid,int32_t utxovout,std::vector CCinputs,std::vector CCoutputs) +std::string CreateAssetTransfer(std::vector origpubkey,uint256 utxotxid,int32_t utxovout,uint256 assetid,std::vector CCinputs,std::vector CCoutputs) { CMutableTransaction mtx; CPubKey pk; CScript scriptPubKey; int32_t i,n; uint64_t utxovalue,txfee=10000; if ( (utxovalue= StartAssetTx(pk,scriptPubKey,0,txfee,origpubkey,utxotxid,utxovout)) != 0 ) @@ -315,7 +315,7 @@ std::string CreateAssetTransfer(uint256 assetid,std::vector origpubkey, return(0); } -std::string CreateBuyOffer(uint256 assetid,std::vector origpubkey,uint256 utxotxid,int32_t utxovout,uint64_t bidamount,uint64_t required) +std::string CreateBuyOffer(std::vector origpubkey,uint256 utxotxid,int32_t utxovout,uint256 assetid,uint64_t bidamount,uint64_t required) { CMutableTransaction mtx; CPubKey pk; CScript scriptPubKey; int32_t i,n; uint64_t utxovalue,txfee=10000; if ( (utxovalue= StartAssetTx(pk,scriptPubKey,bidamount,txfee,origpubkey,utxotxid,utxovout)) != 0 )