mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 11:33:46 +02:00
doc: Remove fixed TODO from wallet/feebumper
Fixed in commit 9522b53a91
This commit is contained in:
@@ -276,10 +276,6 @@ Result CommitTransaction(CWallet& wallet, const uint256& txid, CMutableTransacti
|
|||||||
// mark the original tx as bumped
|
// mark the original tx as bumped
|
||||||
bumped_txid = tx->GetHash();
|
bumped_txid = tx->GetHash();
|
||||||
if (!wallet.MarkReplaced(oldWtx.GetHash(), bumped_txid)) {
|
if (!wallet.MarkReplaced(oldWtx.GetHash(), bumped_txid)) {
|
||||||
// TODO: see if JSON-RPC has a standard way of returning a response
|
|
||||||
// along with an exception. It would be good to return information about
|
|
||||||
// wtxBumped to the caller even if marking the original transaction
|
|
||||||
// replaced does not succeed for some reason.
|
|
||||||
errors.push_back(Untranslated("Created new bumpfee transaction but could not mark the original transaction as replaced"));
|
errors.push_back(Untranslated("Created new bumpfee transaction but could not mark the original transaction as replaced"));
|
||||||
}
|
}
|
||||||
return Result::OK;
|
return Result::OK;
|
||||||
|
Reference in New Issue
Block a user