Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Drop ::HasWallets() #19261

Merged
merged 1 commit into from
Jun 13, 2020
Merged

Conversation

promag
Copy link
Member

@promag promag commented Jun 12, 2020

Minor follow-up of #19250. The global HasWallets() is used only once and at the call site there's already a way to know if any wallet is loaded.

Copy link
Member

@maflcko maflcko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

src/wallet/rpcwallet.cpp Outdated Show resolved Hide resolved
@maflcko
Copy link
Member

maflcko commented Jun 13, 2020

ACK ccf1f6e

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ccf1f6e, I have reviewed the changes and they look OK, I agree they can be merged.

@maflcko maflcko merged commit eac65d9 into bitcoin:master Jun 13, 2020
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 14, 2020
ccf1f6e refactor: Drop ::HasWallets() (João Barbosa)

Pull request description:

  Minor follow-up of bitcoin#19250. The global `HasWallets()` is used only once and at the call site there's already a way to know if any wallet is loaded.

ACKs for top commit:
  MarcoFalke:
    ACK ccf1f6e
  hebasto:
    ACK ccf1f6e, I have reviewed the changes and they look OK, I agree they can be merged.

Tree-SHA512: fb902c045cbd331eaf71716c04734520f2ce7f2b317db510c4ce140162bbc683327b5a40ac860f6cde5add37e069065274d39dfa147fac2091eedec505f2f7eb
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Apr 29, 2021
Summary:
> Minor follow-up of [[bitcoin/bitcoin#19250 | core#19250]]. The global HasWallets() is used only once and at the call site there's already a way to know if any wallet is loaded.

This is a backport of [[bitcoin/bitcoin#19261 | core#19261]]

Depends on D9456

Test Plan: `ninja all check-all`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D9457
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants