mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 12:53:11 +02:00
wallet: no need for duplicate storage for ABANDON_HASH constant
This commit is contained in:
@@ -324,8 +324,6 @@ std::shared_ptr<CWallet> CreateWallet(interfaces::Chain& chain, const std::strin
|
|||||||
return wallet;
|
return wallet;
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint256 CWalletTx::ABANDON_HASH(uint256::ONE);
|
|
||||||
|
|
||||||
/** @defgroup mapWallet
|
/** @defgroup mapWallet
|
||||||
*
|
*
|
||||||
* @{
|
* @{
|
||||||
|
@@ -275,7 +275,7 @@ private:
|
|||||||
/** Constant used in hashBlock to indicate tx has been abandoned, only used at
|
/** Constant used in hashBlock to indicate tx has been abandoned, only used at
|
||||||
* serialization/deserialization to avoid ambiguity with conflicted.
|
* serialization/deserialization to avoid ambiguity with conflicted.
|
||||||
*/
|
*/
|
||||||
static const uint256 ABANDON_HASH;
|
static constexpr const uint256& ABANDON_HASH = uint256::ONE;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user