diff options
| author | Gavin Andresen <[email protected]> | 2014-02-17 10:18:34 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-02-17 10:18:34 -0500 |
| commit | e7d854c8ba0065f788e3089a7a5d56277a06313c (patch) | |
| tree | 11b0ba2df4cda21b17b7cc1cdb9060fb8c40ab3b /src/rpcwallet.cpp | |
| parent | Merge pull request #3587 (diff) | |
| parent | Serialize only CTransaction data in gettransaction RPC hex (diff) | |
| download | discoin-e7d854c8ba0065f788e3089a7a5d56277a06313c.tar.xz discoin-e7d854c8ba0065f788e3089a7a5d56277a06313c.zip | |
Merge pull request #3690 from laanwj/2014_02_gettransaction_serialize_only_tx
Serialize only CTransaction data in gettransaction RPC hex
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index c9152d775..38c669a1f 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1496,7 +1496,7 @@ Value gettransaction(const Array& params, bool fHelp) entry.push_back(Pair("details", details)); CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION); - ssTx << wtx; + ssTx << static_cast<CTransaction>(wtx); string strHex = HexStr(ssTx.begin(), ssTx.end()); entry.push_back(Pair("hex", strHex)); |