[#wallet-CWallet-MarkReplaced] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::MarkReplaced :relfileprefix: ../../ :mrdocs: Mark a transaction as replaced by another transaction. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool MarkReplaced( xref:Txid.adoc[Txid] const& originalHash, xref:Txid.adoc[Txid] const& newHash); ---- == Return Value true if the replacement was recorded. == Parameters [cols="1,4"] |=== | Name| Description | *originalHash* | The txid of the replaced transaction. | *newHash* | The txid of the replacement transaction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#