assettag -> assetcommitment

This commit is contained in:
Gregory Sanders 2017-03-14 10:19:54 -04:00
parent f887514445
commit 0ed009fbfd

View file

@ -153,7 +153,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)
out.push_back(Pair("asset", asset.GetAsset().GetHex()));
}
else if (asset.IsCommitment()) {
out.push_back(Pair("assettag", HexStr(asset.vchCommitment)));
out.push_back(Pair("assetcommitment", HexStr(asset.vchCommitment)));
}
else if (asset.IsAssetGeneration()) {
out.push_back(Pair("assetgeneration", asset.GetAsset().GetHex()));
@ -235,7 +235,7 @@ UniValue getrawtransaction(const UniValue& params, bool fHelp)
" \"fee_value\" : x.xxx, (numeric) The fee value in " + CURRENCY_UNIT + "\n"
" \"n\" : n, (numeric) index\n"
" \"asset\" : \"hex\" (string) the asset id, if unblinded\n"
" \"assettag\" : \"hex\" (string) the asset tag, if blinded\n"
" \"assetcommitment\" : \"hex\" (string) the asset tag, if blinded\n"
" \"scriptPubKey\" : { (json object)\n"
" \"asm\" : \"asm\", (string) the asm\n"
" \"hex\" : \"hex\", (string) the hex\n"
@ -843,7 +843,7 @@ UniValue decoderawtransaction(const UniValue& params, bool fHelp)
" \"value\" : x.xxx, (numeric) The value in " + CURRENCY_UNIT + "\n"
" \"n\" : n, (numeric) index\n"
" \"asset\" : \"hex\" (string) the asset id, if unblinded\n"
" \"assettag\" : \"hex\" (string) the asset tag, if blinded\n"
" \"assetcommitment\" : \"hex\" (string) the asset tag, if blinded\n"
" \"scriptPubKey\" : { (json object)\n"
" \"asm\" : \"asm\", (string) the asm\n"
" \"hex\" : \"hex\", (string) the hex\n"