[#CTxMemPool-RemoveUnbroadcastTx]
= xref:CTxMemPool.adoc[CTxMemPool]::RemoveUnbroadcastTx
:relfileprefix: ../
:mrdocs:

Removes a transaction from the unbroadcast set

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
RemoveUnbroadcastTx(
    xref:Txid.adoc[Txid] const& txid,
    bool unchecked = false);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txid*
| The txid to remove&period;
| *unchecked*
| If true, remove without checking that the transaction is absent from the mempool&period;
|===


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