diff options
| author | Pieter Wuille <[email protected]> | 2015-11-06 01:42:38 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-22 15:42:59 +0200 |
| commit | 8b49040854be2e26b66366aeae1cba4716f93d93 (patch) | |
| tree | b217f3fb71bc0745c1f74ab239fbe0ebcf52a751 /src/primitives/transaction.h | |
| parent | BIP141: Witness program (diff) | |
| download | discoin-8b49040854be2e26b66366aeae1cba4716f93d93.tar.xz discoin-8b49040854be2e26b66366aeae1cba4716f93d93.zip | |
BIP141: Commitment structure and deployment
Includes a fix by Suhas Daftuar and LongShao007
Diffstat (limited to 'src/primitives/transaction.h')
| -rw-r--r-- | src/primitives/transaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index d8ae41ad7..5a5824134 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -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. */ |