]> Git Repo - VerusCoin.git/commitdiff
Fix
authorjl777 <[email protected]>
Mon, 10 Sep 2018 08:09:18 +0000 (21:09 -1100)
committerjl777 <[email protected]>
Mon, 10 Sep 2018 08:09:18 +0000 (21:09 -1100)
src/cc/CCinclude.h
src/cc/CCtx.cpp

index 585786369c4496bca8594abab1626a7a57c4ffd4..552c25e3ed8d19de42318aec6a9753bce263c947 100644 (file)
@@ -114,6 +114,7 @@ uint256 OracleMerkle(int32_t height,uint256 reforacletxid,char *format,std::vect
 uint256 OraclesBatontxid(uint256 oracletxid,CPubKey pk);
 int64_t AddAssetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPubKey pk,uint256 assetid,int64_t total,int32_t maxinputs);
 bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
+bool DecodeAssetCreateOpRet(const CScript &scriptPubKey,std::vector<uint8_t> &origpubkey,std::string &name,std::string &description);
 
 // CCcustom
 CPubKey GetUnspendable(struct CCcontract_info *cp,uint8_t *unspendablepriv);
index f1d6536cc5164ca7e3279f3fa138c7143476dc4a..7c18b9dbe03ac5efc5ca426fe43a63ff8397cb7a 100644 (file)
@@ -236,7 +236,7 @@ int64_t CCfullsupply(uint256 tokenid)
     return(0);
 }
 
-int64_t CCtoken_balance(char *destaddr,uint256 tokenid)
+int64_t CCtoken_balance(char *coinaddr,uint256 tokenid)
 {
     int64_t price,sum = 0; int32_t numvouts; CTransaction tx; uint256 assetid,assetid2,txid,hashBlock; std::vector<uint8_t> origpubkey; std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
     SetCCunspents(unspentOutputs,coinaddr);
This page took 0.027876 seconds and 4 git commands to generate.