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)) {
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()) {
bool active;
auto lookup_block = [&](const uint256& hash, int& height, TxState& state) {