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/script/sign.h | |
parent | 27f5a295d7409c1811f74339d509ea7a348a2220 (diff) |
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.h')
-rw-r--r-- | src/script/sign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sign.h b/src/script/sign.h index 20c7203b26..e884f4c480 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -574,7 +574,7 @@ struct PartiallySignedTransaction bool IsSane() const; PartiallySignedTransaction() {} PartiallySignedTransaction(const PartiallySignedTransaction& psbt_in) : tx(psbt_in.tx), inputs(psbt_in.inputs), outputs(psbt_in.outputs), unknown(psbt_in.unknown) {} - explicit PartiallySignedTransaction(const CTransaction& tx); + explicit PartiallySignedTransaction(const CMutableTransaction& tx); // Only checks if they refer to the same transaction friend bool operator==(const PartiallySignedTransaction& a, const PartiallySignedTransaction &b) |