mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Remove unused MakeTransactionRef overloads
This commit is contained in:
parent
6713f0f142
commit
91335ba389
@ -453,8 +453,6 @@ struct CMutableTransaction
|
||||
typedef std::shared_ptr<const CTransaction> CTransactionRef;
|
||||
static inline CTransactionRef MakeTransactionRef() { return std::make_shared<const CTransaction>(); }
|
||||
template <typename Tx> static inline CTransactionRef MakeTransactionRef(Tx&& txIn) { return std::make_shared<const CTransaction>(std::forward<Tx>(txIn)); }
|
||||
static inline CTransactionRef MakeTransactionRef(const CTransactionRef& txIn) { return txIn; }
|
||||
static inline CTransactionRef MakeTransactionRef(CTransactionRef&& txIn) { return std::move(txIn); }
|
||||
|
||||
/** Compute the weight of a transaction, as defined by BIP 141 */
|
||||
int64_t GetTransactionWeight(const CTransaction &tx);
|
||||
|
Loading…
Reference in New Issue
Block a user