Fix
This commit is contained in:
@@ -114,6 +114,7 @@ uint256 OracleMerkle(int32_t height,uint256 reforacletxid,char *format,std::vect
|
|||||||
uint256 OraclesBatontxid(uint256 oracletxid,CPubKey pk);
|
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);
|
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 DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
|
||||||
|
bool DecodeAssetCreateOpRet(const CScript &scriptPubKey,std::vector<uint8_t> &origpubkey,std::string &name,std::string &description);
|
||||||
|
|
||||||
// CCcustom
|
// CCcustom
|
||||||
CPubKey GetUnspendable(struct CCcontract_info *cp,uint8_t *unspendablepriv);
|
CPubKey GetUnspendable(struct CCcontract_info *cp,uint8_t *unspendablepriv);
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ int64_t CCfullsupply(uint256 tokenid)
|
|||||||
return(0);
|
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;
|
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);
|
SetCCunspents(unspentOutputs,coinaddr);
|
||||||
|
|||||||
Reference in New Issue
Block a user