Skip to content

Commit

Permalink
[wallet] Add logging to MarkReserveKeysAsUsed
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#11044
Rebased-From: 67ceff4
Tree-SHA512: 850c5b1010c84e164edf24a83ae36e46309b2eb7a67854bad509265ed590ba67d5f743a8416590da6ecca85fe4bda7f20e8c3152e422638eb7898db11a416af7
  • Loading branch information
jnewbery authored and laanwj committed Aug 21, 2017
1 parent 4ef8374 commit 6ab120c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3659,6 +3659,7 @@ void CWallet::MarkReserveKeysAsUsed(int64_t keypool_id)
m_pool_key_to_index.erase(keypool.vchPubKey.GetID());
}
walletdb.ErasePool(index);
LogPrintf("keypool index %d removed\n", index);
it = setKeyPool->erase(it);
}
}
Expand Down

0 comments on commit 6ab120c

Please sign in to comment.