Browse Source

Merge #10180: [trivial] Fix typos (tempoarily → temporarily, inadvertantly → inadvertently)

66082e0 [trivial] Fix typos (tempoarily → temporarily, inadvertantly → inadvertently) (practicalswift)

Tree-SHA512: f377c379c9b6702894289c96fa50e64da01fa4e9353f8507ec5f1f58b0f3047fffdc473dffca61774f57793b82cf9e1c9b5f3d9a04fb864ccc1f44fc2a711f32
tags/v0.15.1
Wladimir J. van der Laan 4 years ago
parent
commit
e7b90f78f5
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/wallet/wallet.cpp

+ 2
- 2
src/wallet/wallet.cpp View File

@@ -1124,12 +1124,12 @@ void CWallet::TransactionAddedToMempool(const CTransactionRef& ptx) {

void CWallet::BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex *pindex, const std::vector<CTransactionRef>& vtxConflicted) {
LOCK2(cs_main, cs_wallet);
// TODO: Tempoarily ensure that mempool removals are notified before
// TODO: Temporarily ensure that mempool removals are notified before
// connected transactions. This shouldn't matter, but the abandoned
// state of transactions in our wallet is currently cleared when we
// receive another notification and there is a race condition where
// notification of a connected conflict might cause an outside process
// to abandon a transaction and then have it inadvertantly cleared by
// to abandon a transaction and then have it inadvertently cleared by
// the notification that the conflicted transaction was evicted.

for (const CTransactionRef& ptx : vtxConflicted) {

Loading…
Cancel
Save