From 8db4309fe9e486fe8f37ee99232b2ea840a49073 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Tue, 14 Mar 2017 10:19:54 -0400 Subject: [PATCH] assettag -> assetcommitment --- src/rpc/rawtransaction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 6491b11c3d..1821a864fc 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))); } { @@ -234,7 +234,7 @@ UniValue getrawtransaction(const JSONRPCRequest& request) " \"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" @@ -857,7 +857,7 @@ UniValue decoderawtransaction(const JSONRPCRequest& request) " \"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"