Merge #11027: [RPC] Only return hex field once in getrawtransaction
commit820ddd48a752c98a1c80e9d09c184026499f6463
authorWladimir J. van der Laan <laanwj@gmail.com>
Mon, 21 Aug 2017 06:42:11 +0000 (21 08:42 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Mon, 21 Aug 2017 06:58:08 +0000 (21 08:58 +0200)
tree38de609ff4dc38984981523676deb061eaae8921
parenta8532299d8b9dd835813c6c444433ee6955245ac
parent6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465
Merge #11027: [RPC] Only return hex field once in getrawtransaction

6bbdafc Pass serialization flags and whether to include hex to TxToUniv (Andrew Chow)
e029c6e Only return hex field once in getrawtransaction (Andrew Chow)

Pull request description:

  The hex is already returned in `TxToUniv()`, no need to give it out a second time in getrawtransaction itself.

Tree-SHA512: 270289f2d6dea37f51f5a42db3dae5debdbe83c6b504fccfd3391588da986ed474592c6655d522dc51022d4b08fa90ed1ebb249afe036309f95adfe3652cb262
src/core_write.cpp
src/rpc/blockchain.cpp
src/rpc/rawtransaction.cpp