diff options
author | Gregory Maxwell <greg@xiph.org> | 2013-12-06 15:56:38 -0800 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2013-12-06 15:59:34 -0800 |
commit | a702a0b61dc4a473d5828c75cff1e90ba96cee8d (patch) | |
tree | 999030d81c69e0e656a5cda46a1e1c1d58a58548 | |
parent | ac57a2320f1d90acd00ae86268b614d5bb7f566c (diff) |
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.)
-rw-r--r-- | src/rpcrawtransaction.cpp | 2 |
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); } |