Test
This commit is contained in:
@@ -289,7 +289,7 @@ std::string CreateAsset(CPubKey pk,uint64_t assetsupply,uint256 utxotxid,int32_t
|
|||||||
std::string CreateAssetTransfer(uint256 assetid,const std::vector<uint8_t> origpubkey,uint256 utxotxid,int32_t utxovout)
|
std::string CreateAssetTransfer(uint256 assetid,const std::vector<uint8_t> origpubkey,uint256 utxotxid,int32_t utxovout)
|
||||||
{
|
{
|
||||||
std::string hex; CMutableTransaction mtx; CPubKey pk; CTransaction vintx; uint256 hashBlock; uint64_t nValue,change,txfee=10000;
|
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 )
|
if ( GetTransaction(utxotxid,vintx,hashBlock,false) != 0 )
|
||||||
{
|
{
|
||||||
nValue = vintx.vout[utxovout].nValue;
|
nValue = vintx.vout[utxovout].nValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user