mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
BIP141: Commitment structure and deployment
Includes a fix by Suhas Daftuar and LongShao007
This commit is contained in:
@@ -335,7 +335,6 @@ class CTransaction
|
||||
private:
|
||||
/** Memory only. */
|
||||
const uint256 hash;
|
||||
void UpdateHash() const;
|
||||
|
||||
public:
|
||||
// Default transaction version.
|
||||
@@ -414,6 +413,8 @@ public:
|
||||
}
|
||||
|
||||
std::string ToString() const;
|
||||
|
||||
void UpdateHash() const;
|
||||
};
|
||||
|
||||
/** A mutable version of CTransaction. */
|
||||
|
||||
Reference in New Issue
Block a user