[#wallet-feebumper-CommitTransaction] = xref:wallet.adoc[wallet]::xref:wallet/feebumper.adoc[feebumper]::CommitTransaction :relfileprefix: ../../ :mrdocs: Commit the bumpfee transaction. == Synopsis Declared in `<wallet/feebumper.h>` [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<bilingual_str>& errors, xref:Txid.adoc[Txid]& bumped_txid); ---- == Return Value success in case of CWallet::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. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet that will broadcast and record the transaction. | *txid* | The txid of the original transaction being replaced. | *mtx* | The signed bump transaction to commit. | *errors* | Receives any errors encountered while committing. | *bumped_txid* | Receives the txid of the committed bump transaction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#