aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
diff options
context:
space:
mode:
authorlucash-dev <lucash.dev@gmail.com>2018-12-09 22:03:07 -0800
committerlucash-dev <lucash.dev@gmail.com>2018-12-17 21:02:42 -0800
commitfaf29dd019efef4b05e8e78885926764134d9c04 (patch)
tree984a4c53502b24cb7c901a283e381f2a0c1bd5b5 /src/bitcoin-tx.cpp
parent27f5a295d7409c1811f74339d509ea7a348a2220 (diff)
downloadbitcoin-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/bitcoin-tx.cpp')
-rw-r--r--src/bitcoin-tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp
index 2e41adc276..7c0c674a00 100644
--- a/src/bitcoin-tx.cpp
+++ b/src/bitcoin-tx.cpp
@@ -818,7 +818,7 @@ static int CommandLineRawTx(int argc, char* argv[])
MutateTx(tx, key, value);
}
- OutputTx(tx);
+ OutputTx(CTransaction(tx));
}
catch (const std::exception& e) {
strPrint = std::string("error: ") + e.what();