@@ -55,7 +55,7 @@ std::string CTxOut::ToString() const
55
55
}
56
56
57
57
CMutableTransaction::CMutableTransaction () : nVersion(CTransaction::CURRENT_VERSION), nLockTime(0 ) {}
58
- CMutableTransaction::CMutableTransaction (const CTransaction& tx) : nVersion (tx.nVersion ), vin (tx.vin ), vout (tx.vout ), nLockTime(tx.nLockTime) {}
58
+ CMutableTransaction::CMutableTransaction (const CTransaction& tx) : vin (tx.vin ), vout (tx.vout ), nVersion (tx.nVersion ), nLockTime(tx.nLockTime) {}
59
59
60
60
uint256 CMutableTransaction::GetHash () const
61
61
{
@@ -76,9 +76,9 @@ uint256 CTransaction::GetWitnessHash() const
76
76
}
77
77
78
78
/* For backward compatibility, the hash is initialized to 0. TODO: remove the need for this default constructor entirely. */
79
- CTransaction::CTransaction () : nVersion(CTransaction::CURRENT_VERSION ), vin (), vout( ), nLockTime(0 ), hash() {}
80
- CTransaction::CTransaction (const CMutableTransaction &tx) : nVersion (tx.nVersion ), vin (tx.vin ), vout (tx.vout ), nLockTime(tx.nLockTime), hash(ComputeHash()) {}
81
- CTransaction::CTransaction (CMutableTransaction &&tx) : nVersion(tx.nVersion), vin(std::move(tx.vin)), vout(std::move(tx.vout)), nLockTime(tx.nLockTime), hash(ComputeHash()) {}
79
+ CTransaction::CTransaction () : vin( ), vout (), nVersion(CTransaction::CURRENT_VERSION ), nLockTime(0 ), hash() {}
80
+ CTransaction::CTransaction (const CMutableTransaction &tx) : vin (tx.vin ), vout (tx.vout ), nVersion (tx.nVersion ), nLockTime(tx.nLockTime), hash(ComputeHash()) {}
81
+ CTransaction::CTransaction (CMutableTransaction &&tx) : vin(std::move(tx.vin)), vout(std::move(tx.vout)), nVersion(tx.nVersion ), nLockTime(tx.nLockTime), hash(ComputeHash()) {}
82
82
83
83
CAmount CTransaction::GetValueOut () const
84
84
{
0 commit comments