[#MempoolAcceptResult-MempoolTxDifferentWitness]
= xref:MempoolAcceptResult.adoc[MempoolAcceptResult]::MempoolTxDifferentWitness
:relfileprefix: ../
:mrdocs:

Build a result for a transaction rejected because a same&hyphen;txid, different&hyphen;witness transaction is already in the mempool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:MempoolAcceptResult.adoc[MempoolAcceptResult]
MempoolTxDifferentWitness(xref:Wtxid.adoc[Wtxid] const& other&lowbar;wtxid);
----

== Return Value

A DIFFERENT&lowbar;WITNESS result referencing the existing transaction&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other&lowbar;wtxid*
| Wtxid of the conflicting transaction already in the mempool&period;
|===


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