[#wallet-CWallet-transactionRemovedFromMempool]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::transactionRemovedFromMempool
:relfileprefix: ../../
:mrdocs:

Handle a transaction being removed from the node&apos;s mempool&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
transactionRemovedFromMempool(
    xref:CTransactionRef.adoc[CTransactionRef] const& tx,
    xref:MemPoolRemovalReason.adoc[MemPoolRemovalReason] reason) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction removed from the mempool&period;
| *reason*
| The reason the transaction was removed&period;
|===


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