aboutsummaryrefslogtreecommitdiff
path: root/src/script/sign.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/script/sign.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/script/sign.cpp')
-rw-r--r--src/script/sign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp
index 635e4fa3d2..792fb2997f 100644
--- a/src/script/sign.cpp
+++ b/src/script/sign.cpp
@@ -509,7 +509,7 @@ bool IsSolvable(const SigningProvider& provider, const CScript& script)
return false;
}
-PartiallySignedTransaction::PartiallySignedTransaction(const CTransaction& tx) : tx(tx)
+PartiallySignedTransaction::PartiallySignedTransaction(const CMutableTransaction& tx) : tx(tx)
{
inputs.resize(tx.vin.size());
outputs.resize(tx.vout.size());