aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-12-06 08:21:14 +0100
committerWladimir J. van der Laan <[email protected]>2016-12-06 08:21:57 +0100
commited8d693c71b01caa310922f883b3915c09bb6a35 (patch)
tree62eadd8c5279b73c053b0704d5eae5ce7f2436f4 /src/wallet/rpcwallet.cpp
parentMerge #9282: CMutableTransaction is defined as struct (diff)
parentAdapt ZMQ/rest serialization to take rpcserialversion arg (diff)
downloaddiscoin-ed8d693c71b01caa310922f883b3915c09bb6a35.tar.xz
discoin-ed8d693c71b01caa310922f883b3915c09bb6a35.zip
Merge #9194: Add option to return non-segwit serialization via rpc
412bab2 Adapt ZMQ/rest serialization to take rpcserialversion arg (instagibbs) bc7ff8d Add option to return non-segwit serialization via rpc (Gregory Sanders)
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;