diff options
author | Anthony Towns <aj@erisian.com.au> | 2020-09-26 16:41:10 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2020-09-28 12:14:19 +1000 |
commit | 4cc7171c9887e88027642927c979e507d7b78dda (patch) | |
tree | 7a02bb63aacd87b035446ba09dd9eec82b9dc954 /src/wallet/wallet.h | |
parent | 82cf4641f4a161834d07ce83c18982d9b143c040 (diff) | |
download | bitcoin-4cc7171c9887e88027642927c979e507d7b78dda.tar.xz |
wallet: no need for duplicate storage for ABANDON_HASH constant
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index f15712dd0e..169f266980 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -275,7 +275,7 @@ private: /** Constant used in hashBlock to indicate tx has been abandoned, only used at * serialization/deserialization to avoid ambiguity with conflicted. */ - static const uint256 ABANDON_HASH; + static constexpr const uint256& ABANDON_HASH = uint256::ONE; public: /** |