From 7abd8b21ba34f6a42db2cd2d59a4c0e08561f609 Mon Sep 17 00:00:00 2001 From: brunoerg Date: Mon, 31 Jan 2022 19:42:07 -0300 Subject: [PATCH] doc: include wtxid in TransactionDescriptionString --- src/wallet/rpc/transactions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp index 28baa680f27..ad94ce4b32e 100644 --- a/src/wallet/rpc/transactions.cpp +++ b/src/wallet/rpc/transactions.cpp @@ -432,6 +432,7 @@ static const std::vector TransactionDescriptionString() {RPCResult::Type::NUM, "blockindex", /*optional=*/true, "The index of the transaction in the block that includes it."}, {RPCResult::Type::NUM_TIME, "blocktime", /*optional=*/true, "The block time expressed in " + UNIX_EPOCH_TIME + "."}, {RPCResult::Type::STR_HEX, "txid", "The transaction id."}, + {RPCResult::Type::STR_HEX, "wtxid", "The hash of serialized transaction, including witness data."}, {RPCResult::Type::ARR, "walletconflicts", "Conflicting transaction ids.", { {RPCResult::Type::STR_HEX, "txid", "The transaction id."},