diff options
author | brunoerg <brunoely.gc@gmail.com> | 2022-01-26 08:58:29 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2022-02-01 08:44:51 -0300 |
commit | 7482b6f89500d9783cc6af0dccab7a08d0128206 (patch) | |
tree | 2b1752e30f8ce29ea833c15217da77fef585ff1e /src/wallet/transaction.h | |
parent | 5b4b8f76f3ae11064d4aa3ac157558e364751fd2 (diff) | |
download | bitcoin-7482b6f89500d9783cc6af0dccab7a08d0128206.tar.xz |
wallet: add GetWitnessHash()
Diffstat (limited to 'src/wallet/transaction.h')
-rw-r--r-- | src/wallet/transaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/transaction.h b/src/wallet/transaction.h index 00f9c9f154..271d698e56 100644 --- a/src/wallet/transaction.h +++ b/src/wallet/transaction.h @@ -296,6 +296,7 @@ public: bool isUnconfirmed() const { return !isAbandoned() && !isConflicted() && !isConfirmed(); } bool isConfirmed() const { return state<TxStateConfirmed>(); } const uint256& GetHash() const { return tx->GetHash(); } + const uint256& GetWitnessHash() const { return tx->GetWitnessHash(); } bool IsCoinBase() const { return tx->IsCoinBase(); } // Disable copying of CWalletTx objects to prevent bugs where instances get |