wallet: add GetWitnessHash()

This commit is contained in:
brunoerg committed 2022-02-01 08:44:51 -03:00
1 parent 5b4b8f76f3
commit 7482b6f895
1 file changed
+1
+1
View File
@@ -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