Skip to content

Commit 91335ba

Browse files
committed
Remove unused MakeTransactionRef overloads
1 parent 6713f0f commit 91335ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/primitives/transaction.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,6 @@ struct CMutableTransaction
453453
typedef std::shared_ptr<const CTransaction> CTransactionRef;
454454
static inline CTransactionRef MakeTransactionRef() { return std::make_shared<const CTransaction>(); }
455455
template <typename Tx> static inline CTransactionRef MakeTransactionRef(Tx&& txIn) { return std::make_shared<const CTransaction>(std::forward<Tx>(txIn)); }
456-
static inline CTransactionRef MakeTransactionRef(const CTransactionRef& txIn) { return txIn; }
457-
static inline CTransactionRef MakeTransactionRef(CTransactionRef&& txIn) { return std::move(txIn); }
458456

459457
/** Compute the weight of a transaction, as defined by BIP 141 */
460458
int64_t GetTransactionWeight(const CTransaction &tx);

0 commit comments

Comments
 (0)