Skip to content

Commit 29f8434

Browse files
hebastoMarcoFalke
authored andcommitted
refactor: Remove redundant PSBT copy constructor
The default (i.e., generated by a compiler) copy constructor does the same things. Also this prevents -Wdeprecated-copy warning for implicitly declared operator= in GCC 9.
1 parent a5224be commit 29f8434

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/psbt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ struct PartiallySignedTransaction
401401
bool AddInput(const CTxIn& txin, PSBTInput& psbtin);
402402
bool AddOutput(const CTxOut& txout, const PSBTOutput& psbtout);
403403
PartiallySignedTransaction() {}
404-
PartiallySignedTransaction(const PartiallySignedTransaction& psbt_in) : tx(psbt_in.tx), inputs(psbt_in.inputs), outputs(psbt_in.outputs), unknown(psbt_in.unknown) {}
405404
explicit PartiallySignedTransaction(const CMutableTransaction& tx);
406405
/**
407406
* Finds the UTXO for a given input index

0 commit comments

Comments
 (0)