0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-06 14:19:59 -05:00

Rename wallet-tool to bitcoin-wallet in code comment

This commit is contained in:
Kristaps Kaupe 2022-02-18 07:30:05 +02:00
parent 0db3ad3ba4
commit 62cc138ecb
No known key found for this signature in database
GPG key ID: 33E472FE870C7E5D

View file

@ -1027,7 +1027,8 @@ bool CWallet::LoadToWallet(const uint256& hash, const UpdateWalletTxFn& fill_wtx
if (!fill_wtx(wtx, ins.second)) { if (!fill_wtx(wtx, ins.second)) {
return false; return false;
} }
// If wallet doesn't have a chain (e.g wallet-tool), don't bother to update txn. // If wallet doesn't have a chain (e.g when using bitcoin-wallet tool),
// don't bother to update txn.
if (HaveChain()) { if (HaveChain()) {
bool active; bool active;
auto lookup_block = [&](const uint256& hash, int& height, TxState& state) { auto lookup_block = [&](const uint256& hash, int& height, TxState& state) {