aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-12-06 15:56:38 -0800
committerGregory Maxwell <greg@xiph.org>2013-12-06 15:59:34 -0800
commita702a0b61dc4a473d5828c75cff1e90ba96cee8d (patch)
tree999030d81c69e0e656a5cda46a1e1c1d58a58548 /src/rpcrawtransaction.cpp
parentac57a2320f1d90acd00ae86268b614d5bb7f566c (diff)
downloadbitcoin-a702a0b61dc4a473d5828c75cff1e90ba96cee8d.tar.xz
Restore hex to getrawtransaction vout scriptPubkey.
Commit be066fad accidentally removed the hex field. This gets in the way of doing offline signing. (credit belongs to sipa for actually looking for the cause instead of being lazy like me and just shrugging and writing the scriptpubkey from the asm.)
Diffstat (limited to 'src/rpcrawtransaction.cpp')
-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);
}