Skip to content

Commit

Permalink
Introduced vjoinsplit in the decoderawtransaction's output
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoOl94 committed Dec 11, 2019
1 parent 4802e72 commit 4bcec72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rpc/rawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)
}
entry.push_back(Pair("vout", vout));

UniValue vjoinsplit = TxJoinSplitToJSON(tx);
entry.push_back(Pair("vjoinsplit", vjoinsplit));

if (!hashBlock.IsNull()) {
entry.push_back(Pair("blockhash", hashBlock.GetHex()));
BlockMap::iterator mi = mapBlockIndex.find(hashBlock);
Expand Down

0 comments on commit 4bcec72

Please sign in to comment.