Browse Source

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

tags/v0.15.1
practicalswift 4 years ago
parent
commit
66082e0119
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/wallet/wallet.cpp

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

@@ -1141,12 +1141,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