aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-10-09 11:44:06 -0700
committerPieter Wuille <pieter@wuille.net>2020-10-12 12:14:53 -0700
commitfd9a0060f028a4c01bd88f58777dea34bdcbafd1 (patch)
tree6fc17dc1233aa9e4ab056b6a1d22046bf7ebd3a8 /src/primitives
parent86f50ed10f66b5535f0162cf0026456a9e3f8963 (diff)
downloadbitcoin-fd9a0060f028a4c01bd88f58777dea34bdcbafd1.tar.xz
Report and verify expirations
Diffstat (limited to 'src/primitives')
-rw-r--r--src/primitives/transaction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index 77cb1781a4..00544f64fe 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -399,8 +399,8 @@ template <typename Tx> static inline CTransactionRef MakeTransactionRef(Tx&& txI
/** A generic txid reference (txid or wtxid). */
class GenTxid
{
- const bool m_is_wtxid;
- const uint256 m_hash;
+ bool m_is_wtxid;
+ uint256 m_hash;
public:
GenTxid(bool is_wtxid, const uint256& hash) : m_is_wtxid(is_wtxid), m_hash(hash) {}
bool IsWtxid() const { return m_is_wtxid; }