Skip to content

Commit 7482b6f

Browse files
committed
wallet: add GetWitnessHash()
1 parent 5b4b8f7 commit 7482b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/transaction.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ class CWalletTx
296296
bool isUnconfirmed() const { return !isAbandoned() && !isConflicted() && !isConfirmed(); }
297297
bool isConfirmed() const { return state<TxStateConfirmed>(); }
298298
const uint256& GetHash() const { return tx->GetHash(); }
299+
const uint256& GetWitnessHash() const { return tx->GetWitnessHash(); }
299300
bool IsCoinBase() const { return tx->IsCoinBase(); }
300301

301302
// Disable copying of CWalletTx objects to prevent bugs where instances get

0 commit comments

Comments
 (0)