aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorGregory Sanders <[email protected]>2016-11-20 09:54:51 -0500
committerGregory Sanders <[email protected]>2016-12-05 07:43:22 -0500
commitbc7ff8db99dbc28f8b2d7a22f4650fa5349cb23b (patch)
tree4860b28d599fe0fc96ad19d5a56133ddafb1a8cd /src/wallet/rpcwallet.cpp
parentMerge #9282: CMutableTransaction is defined as struct (diff)
downloaddiscoin-bc7ff8db99dbc28f8b2d7a22f4650fa5349cb23b.tar.xz
discoin-bc7ff8db99dbc28f8b2d7a22f4650fa5349cb23b.zip
Add option to return non-segwit serialization via rpc
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index d4e21b542..5a4fcc743 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -1792,7 +1792,7 @@ UniValue gettransaction(const JSONRPCRequest& request)
ListTransactions(wtx, "*", 0, false, details, filter);
entry.push_back(Pair("details", details));
- string strHex = EncodeHexTx(static_cast<CTransaction>(wtx));
+ string strHex = EncodeHexTx(static_cast<CTransaction>(wtx), RPCSerializationFlags());
entry.push_back(Pair("hex", strHex));
return entry;