diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 1694c60fd9..01fd327b4d 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -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"