diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2016-11-20 09:54:51 -0500 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2016-12-05 07:43:22 -0500 |
commit | bc7ff8db99dbc28f8b2d7a22f4650fa5349cb23b (patch) | |
tree | 4860b28d599fe0fc96ad19d5a56133ddafb1a8cd /src/rpc/rawtransaction.cpp | |
parent | 7d5d44969b4ab46a5146a46b4ed1ed7704d71c63 (diff) |
Add option to return non-segwit serialization via rpc
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r-- | src/rpc/rawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 48769a5335..1229a00c5f 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -223,7 +223,7 @@ UniValue getrawtransaction(const JSONRPCRequest& request) if (!GetTransaction(hash, tx, Params().GetConsensus(), hashBlock, true)) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "No information available about transaction"); - string strHex = EncodeHexTx(*tx); + string strHex = EncodeHexTx(*tx, RPCSerializationFlags()); if (!fVerbose) return strHex; |