diff options
| author | John Newbery <[email protected]> | 2018-09-12 10:05:00 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-09-13 09:37:37 -0400 |
| commit | e4ef4b459548b4032b9da03b3103525f935acb82 (patch) | |
| tree | fd50dca509852d8a1765da3ab50adf8b71a4d842 /src/interfaces/wallet.h | |
| parent | Merge #14204: build: Move interfaces/* to libbitcoin_server (diff) | |
| download | discoin-e4ef4b459548b4032b9da03b3103525f935acb82.tar.xz discoin-e4ef4b459548b4032b9da03b3103525f935acb82.zip | |
[build] remove #ifdef ENABLE_WALLET from interfaces/node
Removes the final #ifdef ENABLE_WALLET from libbitcoin_server by calling
g_wallet_init_interface.HasWalletSupport(), and redifining GetWallets()
and MakeWallet() in dummywallet.cpp.
Diffstat (limited to 'src/interfaces/wallet.h')
| -rw-r--r-- | src/interfaces/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 44240a572..7aa91f37e 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -366,8 +366,8 @@ struct WalletTxOut bool is_spent = false; }; -//! Return implementation of Wallet interface. This function will be undefined -//! in builds where ENABLE_WALLET is false. +//! Return implementation of Wallet interface. This function is defined in +//! dummywallet.cpp and throws if the wallet component is not compiled. std::unique_ptr<Wallet> MakeWallet(const std::shared_ptr<CWallet>& wallet); } // namespace interfaces |