mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-09 19:13:28 +02:00
Merge bitcoin/bitcoin#23883: doc: Remove fixed TODO from wallet/feebumper
fa562fdd5e
doc: Remove fixed TODO from wallet/feebumper (MarcoFalke) Pull request description: Fixed in commit9522b53a91
ACKs for top commit: shaavan: ACKfa562fdd5e
Tree-SHA512: 968fda0994020c369b7acfc01db109d0f50d4c137fadf533ae55d0e14a353ebbde4320e798cf89e5489f1020c459712631b3967976c1f73d99db8a2d1cbad982
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