Skip to content

Commit fbbed19

Browse files
committed
Merge pull request #3365 from gmaxwell/hexify
Restore hex to getrawtransaction vout scriptPubkey.
2 parents 9ac11a4 + a702a0b commit fbbed19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpcrawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
7878
out.push_back(Pair("value", ValueFromAmount(txout.nValue)));
7979
out.push_back(Pair("n", (boost::int64_t)i));
8080
Object o;
81-
ScriptPubKeyToJSON(txout.scriptPubKey, o, false);
81+
ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
8282
out.push_back(Pair("scriptPubKey", o));
8383
vout.push_back(out);
8484
}

0 commit comments

Comments
 (0)