forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still support "protx list" and "protx diff" when wallet is disabled a…
…t compile time (#2511) * Don't fully remove protx commands when ENABLE_WALLET is not set * Check for wallet support at run-time for protx commands * Only show subcommands that require the wallet when ENABLE_WALLET is set * Add and use CheckWalletOwnsKey which is able to check wallet support at runtime * Properly handle disabled wallets in "protx list" This now also handles the case where ENABLE_WALLET is not defined. * Drop comment that doesn't fully apply anymore
- Loading branch information
Showing
1 changed file
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters