[#PartiallySignedTransaction-Merge]
= xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction]::Merge
:relfileprefix: ../
:mrdocs:

Merge psbt into this&period; The two psbts must have the same underlying CTransaction (i&period;e&period; the same actual Bitcoin transaction&period;)

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
Merge(xref:PartiallySignedTransaction.adoc[PartiallySignedTransaction] const& psbt);
----

== Return Value

True if the merge succeeded, false otherwise&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *psbt*
| The PSBT to merge into this one&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
