diff --git a/src/psbt.h b/src/psbt.h --- a/src/psbt.h +++ b/src/psbt.h @@ -329,6 +329,9 @@ unknown(psbt_in.unknown) {} explicit PartiallySignedTransaction(const CTransaction &txIn); + PartiallySignedTransaction & + operator=(const PartiallySignedTransaction &other) = default; + template inline void Serialize(Stream &s) const { // magic bytes s << PSBT_MAGIC_BYTES;