aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2013-12-06 16:58:15 -0800
committerGavin Andresen <[email protected]>2013-12-06 16:58:15 -0800
commitfbbed19b78e3055103cdff8d31d24ced7e7e561b (patch)
tree8f1f88db2ecc3065af54a4b2718bd9ea915ee475 /src
parentMerge pull request #3254 (diff)
parentRestore hex to getrawtransaction vout scriptPubkey. (diff)
downloaddiscoin-fbbed19b78e3055103cdff8d31d24ced7e7e561b.tar.xz
discoin-fbbed19b78e3055103cdff8d31d24ced7e7e561b.zip
Merge pull request #3365 from gmaxwell/hexify
Restore hex to getrawtransaction vout scriptPubkey.
Diffstat (limited to 'src')
-rw-r--r--src/rpcrawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp
index 939ca96f7..a45c2cc1f 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -78,7 +78,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
out.push_back(Pair("value", ValueFromAmount(txout.nValue)));
out.push_back(Pair("n", (boost::int64_t)i));
Object o;
- ScriptPubKeyToJSON(txout.scriptPubKey, o, false);
+ ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
out.push_back(Pair("scriptPubKey", o));
vout.push_back(out);
}