aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-12-06 16:58:15 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-12-06 16:58:15 -0800
commitfbbed19b78e3055103cdff8d31d24ced7e7e561b (patch)
tree8f1f88db2ecc3065af54a4b2718bd9ea915ee475
parent9ac11a4e1e8daba83fe1a57c767844ba9994824b (diff)
parenta702a0b61dc4a473d5828c75cff1e90ba96cee8d (diff)
Merge pull request #3365 from gmaxwell/hexify
Restore hex to getrawtransaction vout scriptPubkey.
-rw-r--r--src/rpcrawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp
index 939ca96f76..a45c2cc1f3 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);
}