[#wallet-feebumper-CommitTransaction]
= xref:wallet.adoc[wallet]::xref:wallet/feebumper.adoc[feebumper]::CommitTransaction
:relfileprefix: ../../
:mrdocs:

Commit the bumpfee transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/feebumper/Result.adoc[Result]
CommitTransaction(
    xref:wallet/CWallet.adoc[CWallet]& wallet,
    xref:Txid.adoc[Txid] const& txid,
    xref:CMutableTransaction.adoc[CMutableTransaction]&& mtx,
    std::vector&lt;bilingual&lowbar;str&gt;& errors,
    xref:Txid.adoc[Txid]& bumped&lowbar;txid);
----

== Return Value

success in case of CWallet&colon;&colon;CommitTransaction was successful, but sets errors if the tx could not be added to the mempool (will try later) or if the old transaction could not be marked as replaced&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet that will broadcast and record the transaction&period;
| *txid*
| The txid of the original transaction being replaced&period;
| *mtx*
| The signed bump transaction to commit&period;
| *errors*
| Receives any errors encountered while committing&period;
| *bumped&lowbar;txid*
| Receives the txid of the committed bump transaction&period;
|===


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