[#node-TxOrphanage-EraseTx] = xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::EraseTx :relfileprefix: ../../ :mrdocs: Erase an orphan by wtxid, including all announcements if there are multiple. Returns true if an orphan was erased, false if no tx with this wtxid exists. == Synopsis Declared in `<node/txorphanage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool EraseTx(xref:Wtxid.adoc[Wtxid] const& wtxid) = 0; ---- == Return Value True if an orphan was erased, false if none existed. == Parameters [cols="1,4"] |=== | Name| Description | *wtxid* | Witness txid of the orphan to erase. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#