diff options
author | lucash-dev <lucash.dev@gmail.com> | 2018-12-09 22:03:07 -0800 |
---|---|---|
committer | lucash-dev <lucash.dev@gmail.com> | 2018-12-17 21:02:42 -0800 |
commit | faf29dd019efef4b05e8e78885926764134d9c04 (patch) | |
tree | 984a4c53502b24cb7c901a283e381f2a0c1bd5b5 /src/wallet/rpcwallet.cpp | |
parent | 27f5a295d7409c1811f74339d509ea7a348a2220 (diff) | |
download | bitcoin-faf29dd019efef4b05e8e78885926764134d9c04.tar.xz |
Minimal changes to comply with explicit CMutableTransaction -> CTranaction conversion.
This commit makes the minimal changes necessary to fix compilation once CTransaction(const CMutableTransaction &tx) is made explicit. In each case an explicit call `CTransaction(...)` was added. Shouldn't affect behaviour or performance.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1d9ab54857..292bb21cca 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3058,7 +3058,7 @@ static UniValue fundrawtransaction(const JSONRPCRequest& request) FundTransaction(pwallet, tx, fee, change_position, request.params[1]); UniValue result(UniValue::VOBJ); - result.pushKV("hex", EncodeHexTx(tx)); + result.pushKV("hex", EncodeHexTx(CTransaction(tx))); result.pushKV("fee", ValueFromAmount(fee)); result.pushKV("changepos", change_position); |