mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
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.
This commit is contained in:
parent
a5224be645
commit
29f8434368
1 changed files with 0 additions and 1 deletions
|
@ -401,7 +401,6 @@ struct PartiallySignedTransaction
|
||||||
bool AddInput(const CTxIn& txin, PSBTInput& psbtin);
|
bool AddInput(const CTxIn& txin, PSBTInput& psbtin);
|
||||||
bool AddOutput(const CTxOut& txout, const PSBTOutput& psbtout);
|
bool AddOutput(const CTxOut& txout, const PSBTOutput& psbtout);
|
||||||
PartiallySignedTransaction() {}
|
PartiallySignedTransaction() {}
|
||||||
PartiallySignedTransaction(const PartiallySignedTransaction& psbt_in) : tx(psbt_in.tx), inputs(psbt_in.inputs), outputs(psbt_in.outputs), unknown(psbt_in.unknown) {}
|
|
||||||
explicit PartiallySignedTransaction(const CMutableTransaction& tx);
|
explicit PartiallySignedTransaction(const CMutableTransaction& tx);
|
||||||
/**
|
/**
|
||||||
* Finds the UTXO for a given input index
|
* Finds the UTXO for a given input index
|
||||||
|
|
Loading…
Add table
Reference in a new issue